Fun with Arduino 04 Readable & Maintainable Code , #define

Subscribers:
18,400
Published on ● Video Link: https://www.youtube.com/watch?v=EXTLZdRZrqw



Duration: 10:39
6,557 views
111


More info: https://rudysarduinoprojects.wordpress.com/2019/01/11/fun-with-arduino-04-readable-and-maintainable-code-with-define/

The goals in this video are:
- To make our code better readable and easier to maintain.
- We imagine an output pin to operate 20 street lights on a model railway layout. They switch on when we press the button. To simulate a night cycle we want them to stay on for 3 minutes and then automatically switch off again.







Tags:
Arduino
Uno
Nano
maintainable
readable
define
#define
LED
resistor
delay
delay()
tutorial
starter
kit