CongducPham / LowCostLoRaGw

Low-cost LoRa IoT & gateway with SX12XX (SX1261/62/68; SX1272/76/77/78/79; SX1280/81), RaspberryPI and Arduino boards
699 stars 352 forks source link

DIY Lora32u4 GPS #196

Open Hiutale opened 6 years ago

Hiutale commented 6 years ago

Hi

I upload gps sketch to arduino pro mini and its work juts fine. Then i try use DIY lora32u4 whit adafruit board and bsfrance board setup but i allways got error:

Arduino_LoRa_GPS:144: error: 'gps_serial' was not declared in this scope

gps_light gps(gps_serial);

           ^

exit status 1 'gps_serial' was not declared in this scope

Anyway to fix it?

CongducPham commented 6 years ago

You may be missing the library. Be sure to have gps_light.cpp and gps_light.h in your sketch folder.