implement internal display
This commit is contained in:
parent
efc3450995
commit
2dee25276c
4 changed files with 19 additions and 1 deletions
|
@ -10,7 +10,6 @@
|
|||
#include <DS1307RTC.h>
|
||||
#include <time.h>
|
||||
|
||||
|
||||
struct rtctime_t {
|
||||
uint8_t hours;
|
||||
uint8_t minutes;
|
||||
|
|
|
@ -99,3 +99,17 @@ void InternalDisplay::setPWMAdjustmentPin(uint8_t pin) {
|
|||
void InternalDisplay::setPWMAdjustmentButton(bool state) {
|
||||
// TODO: implementation
|
||||
}
|
||||
|
||||
void InternalDisplay::setOutputStateColor(uint8_t pin, bool state) {
|
||||
// TODO: implementation
|
||||
}
|
||||
|
||||
void InternalDisplay::setInputMarker(uint8_t pin, bool state) {
|
||||
// TODO: implementation
|
||||
}
|
||||
|
||||
InternalDisplay::InternalDisplay(HardwareSerial *displayAdapter) : ESPMegaDisplay(displayAdapter) {
|
||||
this->currentPage = INTERNAL_DISPLAY_DASHBOARD_PAGE;
|
||||
this->bindedInputCard = 0;
|
||||
this->bindedOutputCard = 0;
|
||||
}
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
class InternalDisplay : public ESPMegaDisplay {
|
||||
public:
|
||||
InternalDisplay(HardwareSerial *displayAdapter);
|
||||
void begin(ESPMegaPRO *espmega);
|
||||
void loop();
|
||||
void bindInputCard(uint8_t card_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue