so i've written a quite a big piece of code that reads and writes from an SD card. controls some IO and sends SMS when an alarm occurs.
Now in that last part im getiing in trouble.
My code works perfectly in my own arduino environment (nightly).
I am using the FONA library from Adafruit, where i use hardware Serial to connect with a SIM800L module.
Now i want to send this code to my colleague. But when he compiled, it gave an error on this line:
HardwareSerial *fonaSerial = &Serial1;
Error looked as follows;
exit status 1 'Serial1' was not declared in this scope
I checked, he has selected the right board, had all correct libraries in his libraries folder.
Does anyone know why this problem could be acting up?
Is this a problem in my code?