initial firmware r1
This commit is contained in:
parent
a7e4832b7a
commit
410821e898
|
@ -29,9 +29,6 @@ void setup()
|
||||||
// Enable Web Server
|
// Enable Web Server
|
||||||
ESP_LOGV("OS", "Enabling Web Server");
|
ESP_LOGV("OS", "Enabling Web Server");
|
||||||
espmega.enableWebServer(80);
|
espmega.enableWebServer(80);
|
||||||
|
|
||||||
ESP_LOGV("OS", "Initializing Internal Display");
|
|
||||||
espmega.enableInternalDisplay(&INTERNAL_DISPLAY_UART);
|
|
||||||
// Register all cards with iot
|
// Register all cards with iot
|
||||||
ESP_LOGV("OS", "Registering Cards with IoT");
|
ESP_LOGV("OS", "Registering Cards with IoT");
|
||||||
espmega.iot->registerCard(0);
|
espmega.iot->registerCard(0);
|
||||||
|
@ -45,5 +42,5 @@ void loop()
|
||||||
|
|
||||||
void input_callback(uint8_t pin, uint8_t state)
|
void input_callback(uint8_t pin, uint8_t state)
|
||||||
{
|
{
|
||||||
|
espmega.outputs.toggleState(pin);
|
||||||
}
|
}
|
Loading…
Reference in New Issue