Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

compile error
#3

Arduino: 1.8.5 (Mac OS X), Board: "Arduino Pro or Pro Mini, ATmega328P (5V, 16 MHz)"

WeatherDuinoPro2Plus_RX_v410_b006:434: error: 'Serial1' was not declared in this scope
ESP8266 wifi(Serial1);
^
/Users/Mark/Downloads/WeatherDuino_Pro2_PLUS/v4.1/software/RX software/WeatherDuinoPro2Plus_RX_v410_b006/Routines.ino: In function 'void B_doubleclick()':
Routines:433: error: 'PORTH' was not declared in this scope
setPortLOW(PORTH, 6); //digitalWrite(TFT_BKL, LOW);
^
/Users/Mark/Downloads/WeatherDuino_Pro2_PLUS/v4.1/software/RX software/WeatherDuinoPro2Plus_RX_v410_b006/WeatherDuinoPro2Plus_RX_v410_b006.ino:138:33: note: in definition of macro 'setPortLOW'
#define setPortLOW(port, pin) ((port) &= ~(1 << (pin)))
^
/Users/Mark/Downloads/WeatherDuino_Pro2_PLUS/v4.1/software/RX software/WeatherDuinoPro2Plus_RX_v410_b006/VP.ino: In function 'void cmdDmpaft()':
VP:294: error: 'PORTG' was not declared in this scope
setPortHIGH(PORTG, 1); //digitalWrite(FLASH_CS, HIGH);
^
/Users/Mark/Downloads/WeatherDuino_Pro2_PLUS/v4.1/software/RX software/WeatherDuinoPro2Plus_RX_v410_b006/WeatherDuinoPro2Plus_RX_v410_b006.ino:139:34: note: in definition of macro 'setPortHIGH'
#define setPortHIGH(port, pin) ((port) |= (1 << (pin)))
^
VP:306: error: 'PORTG' was not declared in this scope
setPortHIGH(PORTG, 1); //digitalWrite(FLASH_CS, HIGH);
^
/Users/Mark/Downloads/WeatherDuino_Pro2_PLUS/v4.1/software/RX software/WeatherDuinoPro2Plus_RX_v410_b006/WeatherDuinoPro2Plus_RX_v410_b006.ino:139:34: note: in definition of macro 'setPortHIGH'
#define setPortHIGH(port, pin) ((port) |= (1 << (pin)))
^
exit status 1
'Serial1' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Reply


Messages In This Thread
compile error - by markkkk42 - 17-10-2017, 10:23
RE: compile error - by markkkk42 - 17-10-2017, 11:01
RE: compile error - by markkkk42 - 17-10-2017, 12:01
RE: compile error - by laulau - 17-10-2017, 13:15
RE: compile error - by markkkk42 - 17-10-2017, 13:29
RE: compile error - by dormani - 27-12-2017, 05:12
RE: compile error - by werk_ag - 27-12-2017, 06:42
RE: compile error - by dormani - 27-12-2017, 07:12
RE: compile error - by zitoune - 16-02-2018, 11:04
RE: compile error - by zitoune - 16-02-2018, 11:23



Users browsing this thread: 1 Guest(s)