nextion
nextion copied to clipboard
Anybody had luck getting this to work with platformio + stm32duino?
Tried various options but get:
Compiling .pioenvs\nucleo_l432kc\lib\nextionsimple\Nextion.o lib\nextionsimple\Nextion.cpp: In member function 'uint8_t Nextion::pageId()':
lib\nextionsimple\Nextion.cpp:302:7: warning: unused variable 'a' [-Wunused-variable] int a = -1; ^ lib\nextionsimple\Nextion.cpp: In member function 'void Nextion::flushSerial()': lib\nextionsimple\Nextion.cpp:334:10: error: request for member 'flush' in '((Nextion*)this)->N extion::Serial', which is of pointer type 'HardwareSerial*' (maybe you meant to use '->' ?) Serial.flush(); ^ lib\nextionsimple\Nextion.cpp: In member function 'boolean Nextion::ack()': lib\nextionsimple\Nextion.cpp:119:1: warning: control reaches end of non-void function [-Wretur n-type] }//end ^ *** [.pioenvs\nucleo_l432kc\lib\nextionsimple\Nextion.o] Error 1 [ERROR] Took 2.42 seconds