← Back to context

Comment by TheRealHB

2 years ago

Just use any blinking LED template code that your OEM offers for your particular board (ESP32 or alike) as it will be specific for the PIN the LED is wired and libraries available, etc.

Basically a function slope with a value from 150 to 60 that calls "blinks" over an hour, when at the end it turns off LED.

You can make it smoother, add the heartbeat sensor, make it pulse instead of blink, that stuff will be particular to whatever you have at hand.

GPT for such simple code after explaining the device and pointing to documentation should be a 3-4 shot process.

My one is horribly inefficient and shameful to share : )

What if I don't know what any of that means? I only know how to code, never used a "board" but I want to try this

  • I see, well in that case just search for ESP32 on Amazon and get one for a $5, then look for a few videos on Youtube who to program for a ESP32 board and you will probably learn as a first example something to control the board's LED. From that you will be half way, just modify and try things out ; )