Closed GQster closed 3 months ago
In a .ino file, you can reference functions that are defined further down in the file, in a regular cpp file you cannot. Try lifting the definition of rx (all the way at the end) to before your main that calls it. Or have a declaration line at the beginning (outside of any functions) that just reads void rx();
oh duh... Didn't see the rx() at the bottom. my bad!
Trying to use the LoRa_rx_tx example with platformIO and the 'regular board' but am getting this error:
My platformio.ini:
My only change to the code at this point is adding
#include <Arduino.h>
to the top.I coppied the LoRa_rx_tx.ino file into the src/main.cpp in the platformIO project