first real run on the phytotron
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
/* -------------------------------------------------- */
|
||||
|
||||
#define NBVAL 4
|
||||
#define DELAI 2000
|
||||
#define DELAI 5000
|
||||
|
||||
/* -------------------------------------------------- */
|
||||
void setup() {
|
||||
@@ -32,9 +32,7 @@ void updatevalues(short *ptr)
|
||||
int foo;
|
||||
digitalWrite(LED_BUILTIN, HIGH);
|
||||
for (foo=0; foo<NBVAL; foo++) {
|
||||
|
||||
ptr[foo] = analogRead(adc_pins[foo]);
|
||||
// ptr[foo] = analogRead(A0);
|
||||
delay(100);
|
||||
}
|
||||
digitalWrite(LED_BUILTIN, LOW);
|
||||
|
||||
Reference in New Issue
Block a user