You should give variables names that self document what is being done.
For example:
#define LEDon HIGH
#define LEDoff LOW
const byte heartbeatLED = 13;
. . .
digitalWrite(heartbeatLED, LEDon);
Hence we have self documenting code. ![]()
You should give variables names that self document what is being done.
For example:
#define LEDon HIGH
#define LEDoff LOW
const byte heartbeatLED = 13;
. . .
digitalWrite(heartbeatLED, LEDon);
Hence we have self documenting code. ![]()