Skip to content
Snippets Groups Projects
Commit acbc348b authored by Malaurie Bernard's avatar Malaurie Bernard
Browse files

Create a web instance in posse-seringue arduino.cpp

parent e40da751
No related branches found
No related tags found
1 merge request!17Malaurie's work on UI + CLI interface + AccelStepper interface
......@@ -89,6 +89,8 @@ int rpming = 0; // -1, 0 or +1
SyringeFilled syringefilled(stepper);
Cli console(syringe_filled);
Web web;
const char* oledMode ()
{
......@@ -302,7 +304,7 @@ void setup()
Serial.printf("---> (or read IP address on screen)\n");
Serial.printf("connecting to ssid '%s'\n", STASSID);
web_setup();
web.web_setup();
#endif //0
......@@ -406,6 +408,6 @@ void loop()
}
console.loop(Serial);
web_loop();
web.web_loop();
dnsServer.processNextRequest(); // access-point redirection
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment