Programming-Arduino (1) - Pages-105
Programming-Arduino (1) - Pages-105
int i = 0;
flashDotOrDash(sequence[i]);
i++;
Again, you delegate the actual job of flashing an individual dot or dash to a
new method called flashDotOrDash , which actually turns the LED on and off.