New answers tagged led
0
votes
Execute a loop function out of the main loop()
I saw your newer comments and I played around with this today using an UNO and this PIR.
The code below, while lacking any semblance of elegance, does work. When it starts, it sets the volume and then ...
- 319
0
votes
Execute a loop function out of the main loop()
Here's a possible solution, a proof-of-concept on how it might be done. One of the issues you've got is that you are using delay() in a way that stops the code, without letting other things happen. ...
- 239
Top 50 recent answers are included
Related Tags
led × 848arduino-uno × 324
programming × 60
button × 54
pwm × 53
rgb-led × 52
arduino-nano × 50
power × 45
c++ × 38
sensors × 34
arduino-mega × 33
serial × 27
pins × 26
resistor × 21
led-strip × 21
arduino-ide × 20
bluetooth × 20
shift-register × 19
transistor × 17
neopixel × 17
timers × 16
adafruit × 15
display × 15
ir × 15
current × 15