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:
parent
1a0dcb2959
commit
a6022df422
@ -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++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user