1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-18 07:52:14 +01:00

Update build/shared/examples/05.Control/Arrays/Arrays.ino

removed redundant thisPin declaration in setup
This commit is contained in:
mdxtinkernick 2013-02-11 21:41:30 +00:00
parent 1a0dcb2959
commit a6022df422

View File

@ -27,7 +27,6 @@ int ledPins[] = {
int pinCount = 6; // the number of pins (i.e. the length of the array)
void setup() {
int thisPin;
// the array elements are numbered from 0 to (pinCount - 1).
// use a for loop to initialize each pin as an output:
for (int thisPin = 0; thisPin < pinCount; thisPin++) {