I am trying to define a thethingsnetwork class as
thethingsnetwork ttn(Stream &modemStream, Stream &debugStream, ttn_fp_t fp)
Example code is found on
https://www.thethingsnetwork.org/docs/d ... start.html
*****small snippet below*********
#define loraSerial Serial1
#define debugSerial Serial
// Replace REPLACE_ME with TTN_FP_EU868 or TTN_FP_US915
#define freqPlan REPLACE_ME
TheThingsNetwork ttn(loraSerial, debugSerial, freqPlan);
******end snippet********
But I relealized Serial 1 is only available Arduino Mega and Arduino Leonardo and may be few other boards.
In that case how can I use thethingsnetwork class on Talk2WhisperNode ?
Appreciate any pointers.
thethingsnetwork ttn(Stream &modemStream, Stream &debugStream, ttn_fp_t fp)
Example code is found on
https://www.thethingsnetwork.org/docs/d ... start.html
*****small snippet below*********
#define loraSerial Serial1
#define debugSerial Serial
// Replace REPLACE_ME with TTN_FP_EU868 or TTN_FP_US915
#define freqPlan REPLACE_ME
TheThingsNetwork ttn(loraSerial, debugSerial, freqPlan);
******end snippet********
But I relealized Serial 1 is only available Arduino Mega and Arduino Leonardo and may be few other boards.
In that case how can I use thethingsnetwork class on Talk2WhisperNode ?
Appreciate any pointers.
