adding storage manager

This commit is contained in:
phyto
2019-04-29 17:46:14 +02:00
parent a65e28aa67
commit a4104e21f7
3 changed files with 26 additions and 3 deletions

View File

@@ -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);
}