Milestone 1
All function implemented in OOP except WebServer Function. Most missing documentation and comments
This commit is contained in:
parent
e1f0fd5651
commit
d62ffa3606
7 changed files with 10 additions and 29 deletions
|
@ -8,7 +8,7 @@
|
|||
// #define WRITE_DEFAULT_NETCONF
|
||||
#define CLIMATE_CARD_ENABLE
|
||||
#define MQTT_CARD_REGISTER
|
||||
// #define DISPLAY_ENABLE
|
||||
#define DISPLAY_ENABLE
|
||||
|
||||
// Demo PLC firmware using the ESPMegaPRO OOP library
|
||||
|
||||
|
@ -17,8 +17,8 @@ ESPMegaPRO espmega = ESPMegaPRO();
|
|||
#ifdef CLIMATE_CARD_ENABLE
|
||||
// Climate Card
|
||||
const uint16_t irCode[15][4][4][1] = {0};
|
||||
const char *mode_names[] = {"Off", "Fan-only", "Cool"};
|
||||
const char *fan_speed_names[] = {"Auto", "Low", "Medium", "High"};
|
||||
const char *mode_names[] = {"off", "fan_only", "cool"};
|
||||
const char *fan_speed_names[] = {"auto", "low", "medium", "high"};
|
||||
|
||||
size_t getInfraredCode(uint8_t mode, uint8_t fan_speed, uint8_t temperature, const uint16_t **codePtr)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue