Closed navr32 closed 1 year ago
Ok, I think it's because the current (and new) SoftwareSerial implementation does not defines SoftwareSerial_h
(it defines SoftwareSerialLGT_h
instead).
I've looked at the remoteXY repo here : https://github.com/RemoteXY/RemoteXY-Arduino-library/tree/master/src And everything seems to be headers.
So, maybe you could temporarily solve this issue by adding :
#define SoftwareSerial_h
before your #include <RemoteXY.h>
.
Hi SuperUserNameMan ! Your Workaround wok perfectly wonderfull ...wow very cool. Now the Build is OK. I have to test with hardware now to see if working Right. Many thanks..I will tell you if this work.Have a nice day..and week.
Did this change get incorporated into the library at some point? If so, please close this issue.
Yes, it's the same as #65
I am facing the same issue but defining softwareserial didn't solve it
Hi all ! Many thanks. And congratulation for all the job done by all of contributors. It's woohoo... I have done some little project with the lgt8f328 since some time and start with the wavgat package first..after i found yours and this very very good and promising for futur. Now i try to do more big project and want to drive little HMI with bluetooth by RemoteXY throught my phone with softwareserial but failing..
When i build the remoteXY for the Atmega328p all is ok..but if i try with the Lgt8f328 board set the build crash..here the report..someone have an idea ? I have test with Arduino 1.8.10 to 1.8.13...and RemoteXY ver 2.4.6 and 2.4.5 install from the Arduino IDE libraries manager Here the output of build
In file included from /home/nico/Arduino/libraries/RemoteXY/src/RemoteXY.h:168:0, from /home/nico/Arduino/libraries/RemoteXY/examples/Bluetooth/Bluetooth_HC05_SoftSerial/Bluetooth_HC05_SoftSerial.pde:35: /home/nico/Arduino/libraries/RemoteXY/src/modules/serial.h: In constructor 'CRemoteXY::CRemoteXY(const void, void, const char*, uint8_t, uint8_t, long int)': /home/nico/Arduino/libraries/RemoteXY/src/modules/serial.h:18:5: error: 'initSerial' was not declared in this scope initSerial (_serialRx, _serialTx, _serialSpeed); ^
~~~~~ /home/nico/Arduino/libraries/RemoteXY/src/modules/serial.h:18:5: note: suggested alternative: 'Serial' initSerial (_serialRx, _serialTx, _serialSpeed); ^~~~~~ Serial /home/nico/Arduino/libraries/RemoteXY/src/modules/serial.h: In member function 'virtual void CRemoteXY::sendByte(uint8_t)': /home/nico/Arduino/libraries/RemoteXY/src/modules/serial.h:26:5: error: 'serial' was not declared in this scope serial->write (b); ^~/home/nico/Arduino/libraries/RemoteXY/src/modules/serial.h:26:5: note: suggested alternative: 'Serial' serial->write (b); ^~Serial /home/nico/Arduino/libraries/RemoteXY/src/modules/serial.h: In member function 'virtual uint8_t CRemoteXY::receiveByte()': /home/nico/Arduino/libraries/RemoteXY/src/modules/serial.h:33:17: error: 'serial' was not declared in this scope uint8_t b = serial->read (); ^~/home/nico/Arduino/libraries/RemoteXY/src/modules/serial.h:33:17: note: suggested alternative: 'Serial' uint8_t b = serial->read (); ^~Serial /home/nico/Arduino/libraries/RemoteXY/src/modules/serial.h: In member function 'virtual uint8_t CRemoteXY::availableByte()': /home/nico/Arduino/libraries/RemoteXY/src/modules/serial.h:42:12: error: 'serial' was not declared in this scope return serial->available (); ^~/home/nico/Arduino/libraries/RemoteXY/src/modules/serial.h:42:12: note: suggested alternative: 'Serial' return serial->available (); ^~Serial exit status 1 Erreur de compilation pour la carte LGT8F328the code example: