247
edits
No edit summary |
No edit summary |
||
Line 51: | Line 51: | ||
int val[6];//array.5 light sensors total | int val[6];//array.5 light sensors total | ||
void setup() { | void setup() | ||
{ | |||
Serial.begin(9600); //Serial Communication set up | Serial.begin(9600); //Serial Communication set up | ||
} | } | ||
void loop() { | void loop() | ||
{ | |||
for(int i = 0; i < 6; i++){ | for(int i = 0; i < 6; i++){ | ||
val[i] = analogRead(i); | val[i] = analogRead(i); | ||
Line 63: | Line 65: | ||
Serial.println(); | Serial.println(); | ||
delay(10); | delay(10); | ||
} | } | ||
edits