Xinyuan-LilyGO / LilyGo-LoRa-Series

LILYGO LoRa Series examples
603 stars 169 forks source link

Compile error - Allfunction.ino #37

Closed smarti2019 closed 3 years ago

smarti2019 commented 3 years ago

AllFunction:84:30: error: no matching function for call to 'Button2::Button2()'

 pBtns = new Button2 [args];
lewisxhe commented 3 years ago

Please use Button2 in libdeps

phfu commented 3 years ago

Hello I replaced the code with : pBtns = new Button2 (BUTTONS_MAP); and it worked. It's a bit confusing just for handling one button.

Anyhow, it is then possible to switch betweeb the 3 screens.

GPS works, LoRa transmission also (I can see the packet on an spectrum analyser) but receiver is not working. With 2 modules, one TX, other RX, RX not working, even when switching the 2 devices.

Regards Philippe

lewisxhe commented 3 years ago

The sample code has been updated, please update, it should be easier to understand than the original

lewisxhe commented 3 years ago

Issues have not been active for a long time and will be closed