Hi All,
I've just downloaded the latest version of the Pro2+ Rx software (P2AT2560_RX_v8.1_b002) and libraries, but i'm not able to compile it and get a few errors. The errors are below and I've attached the verbose output from the Arduino IDE during compilation. Has anyone else had these errors, or am I doing something simple wrong?
Thanks in advance for your help!
Zak
I've just downloaded the latest version of the Pro2+ Rx software (P2AT2560_RX_v8.1_b002) and libraries, but i'm not able to compile it and get a few errors. The errors are below and I've attached the verbose output from the Arduino IDE during compilation. Has anyone else had these errors, or am I doing something simple wrong?
Thanks in advance for your help!
Zak
Code:
Arduino: 1.8.8 (Windows 10), Board: "Arduino Nano, ATmega328P"
WeatherDuino_P2AT2560_RX_v8.1_b002:428:14: error: 'Serial1' was not declared in this scope
ESP8266 wifi(Serial1);
^
Y:\Zak's Documents\Electronics\Arduino Projects\WeatherDuino\WeatherDuino_Pro2_PLUS\software\RX software\WeatherDuino_P2AT2560_RX_v8.1_b002\Routines.ino: In function 'void B_doubleclick()':
Routines:629:14: error: 'PORTH' was not declared in this scope
setPortLOW(PORTH, 6); //digitalWrite(TFT_BKL, LOW);
^
Y:\Zak's Documents\Electronics\Arduino Projects\WeatherDuino\WeatherDuino_Pro2_PLUS\software\RX software\WeatherDuino_P2AT2560_RX_v8.1_b002\WeatherDuino_P2AT2560_RX_v8.1_b002.ino:129:33: note: in definition of macro 'setPortLOW'
#define setPortLOW(port, pin) ((port) &= ~(1 << (pin)))
^
Y:\Zak's Documents\Electronics\Arduino Projects\WeatherDuino\WeatherDuino_Pro2_PLUS\software\RX software\WeatherDuino_P2AT2560_RX_v8.1_b002\VP.ino: In function 'void cmdDmpaft()':
VP:292:19: error: 'PORTG' was not declared in this scope
setPortHIGH(PORTG, 1); //digitalWrite(FLASH_CS, HIGH);
^
Y:\Zak's Documents\Electronics\Arduino Projects\WeatherDuino\WeatherDuino_Pro2_PLUS\software\RX software\WeatherDuino_P2AT2560_RX_v8.1_b002\WeatherDuino_P2AT2560_RX_v8.1_b002.ino:130:34: note: in definition of macro 'setPortHIGH'
#define setPortHIGH(port, pin) ((port) |= (1 << (pin)))
^
VP:306:14: error: 'PORTG' was not declared in this scope
setPortHIGH(PORTG, 1); //digitalWrite(FLASH_CS, HIGH);
^
Y:\Zak's Documents\Electronics\Arduino Projects\WeatherDuino\WeatherDuino_Pro2_PLUS\software\RX software\WeatherDuino_P2AT2560_RX_v8.1_b002\WeatherDuino_P2AT2560_RX_v8.1_b002.ino:130:34: note: in definition of macro 'setPortHIGH'
#define setPortHIGH(port, pin) ((port) |= (1 << (pin)))
^
exit status 1
'Serial1' was not declared in this scope