implement internal display
This commit is contained in:
parent
efc3450995
commit
2dee25276c
4 changed files with 19 additions and 1 deletions
|
@ -1,7 +1,9 @@
|
|||
#include <ESPMegaPRO_OOP.hpp>
|
||||
#include <InternalDisplay.hpp>
|
||||
#include <ETH.h>
|
||||
|
||||
ESPMegaPRO espmega = ESPMegaPRO();
|
||||
InternalDisplay display = InternalDisplay(&Serial);
|
||||
|
||||
void input_change_callback(uint8_t pin, uint8_t value) {
|
||||
Serial.print("Input change callback: ");
|
||||
|
@ -50,6 +52,8 @@ void setup() {
|
|||
Serial.println("Initialization Routine Complete");
|
||||
((DigitalInputIoT*)espmega.iot.getComponent(0)) -> registerChangeCallback(input_change_callback);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue