Arduino Tutorial 4: Understanding Arduino Variables

In our earlier lessons we would program using “constants” when we needed numbers. For example, if we wanted to set pin 13 to an output, we would use the command: pinMode(13, OUTPUT); The problem with using constants like the number 13, if you decided later to use pin 8 instead, you would have to edit … Continue reading Arduino Tutorial 4: Understanding Arduino Variables