adding storage manager
This commit is contained in:
@@ -14,7 +14,7 @@ void setup() {
|
||||
|
||||
Serial.print("\n");
|
||||
|
||||
phytocli();
|
||||
phytocli(); /* XXX */
|
||||
|
||||
/* XXX */
|
||||
/* changing the voltage reference of the ADC
|
||||
@@ -90,7 +90,14 @@ void loop() {
|
||||
|
||||
if (foo++ > 5) {
|
||||
readlight(); foo = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* check for CLI request */
|
||||
if (Serial.available() && 0x55==Serial.read())
|
||||
{
|
||||
Serial.println("M cli request");
|
||||
phytocli();
|
||||
}
|
||||
|
||||
delay(DELAI);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user