M5stickc plus 2 code problem with ESP Altherma Daikin #580
Unanswered
timmusk1981-wheels
asked this question in
Q&A
Replies: 1 comment
-
|
Edit: was able to fix it doing the following. Add in In as lines 3 and 4 (inside the first And simply comment out line 316 After this, I ran into the issue described here, with the fix described there resolving my issue. Usually I'd be happy to file a PR for this fix but I suspect this is way too hacky 😅 but perhaps useful to some. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All
I have just been trying to get the ESP Altherma Daikin Integration configured by raomin.
I am using the M5stickc plus2.
Two lines I am having problems with if anyone could help please.
#elif defined(ARDUINO_M5Stick_C_Plus2)
M5.begin();
#if !defined(ARDUINO_M5Stick_C_Plus2)
M5.Axp.EnableCoulombcounter();
#endif
M5.Lcd.setRotation(1);
M5.Lcd.setBrightness(127);
M5.Lcd.fillScreen(TFT_WHITE);
M5.Lcd.setFont(&FreeSansBold12pt7b); This line isn't having the code in the brackets
M5.Lcd.setTextDatum(MC_DATUM);
int xpos = M5.Lcd.width() / 2; // Half the screen width
int ypos = M5.Lcd.height() / 2; // Half the screen width
M5.Lcd.setTextColor(TFT_DARKGREY);
M5.Lcd.drawString("ESPAltherma", xpos,ypos);
delay(2000);
M5.Lcd.fillScreen(TFT_BLACK);
M5.Lcd.setFont(&Font0); Also this line is coming up as an error.
M5.Lcd.setTextColor(TFT_GREEN);
#endif
Saying
src/main.cpp:306:19: error: 'FreeSansBold12pt7b' was not declared in this scope
Also
src/main.cpp:314:19: error: 'Font0' was not declared in this scope
Any help would be appreciated.
I have just copied the whole folder from Github raomin and opened the folder as stated in VS coder.
Tested it and came up with the error. Done exactly as said.
Beta Was this translation helpful? Give feedback.
All reactions