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

WeatherDuino_P2AT328_RX_v4.0_b001 Compile error
#1

Hope someone can help with a compile error I am getting please?
 
WeatherDuino_P2AT328_RX_v4.0_b001
 
I am using a freshly installed copy of Arduino V 1.8.8, all libraries from the Rar archive have been copied to the Arduino library folder, the file will compile ok, until I change the line below in Config_options  to 1
 
 
// --------------------------------------------------------------------------------------
//   Define Software Operation Mode
// --------------------------------------------------------------------------------------
#define Work_Mode         1   // Mode 0= Davis VP2 Emulation Mode, Mode 1= EasyWeather Mode
 
The error relates to the DataFlash library.
 
Some of the error messages below.
 
C:\Users\lotus\Documents\Arduino\WeatherDuino_Pro2\v4.0\software\Receiver Software\WeatherDuino_P2AT328_RX_v4.0_b001\Routines.ino: In function 'int Ext_eepromReadInt(int)':
 
Routines:248:46: error: 'ExternalEeprom_read' was not declared in this scope
 
   value = value | ExternalEeprom_read(address) << 8;
 
                                              ^
 
C:\Users\lotus\Documents\Arduino\WeatherDuino_Pro2\v4.0\software\Receiver Software\WeatherDuino_P2AT328_RX_v4.0_b001\Routines.ino: In function 'void Ext_eepromWriteInt(int, int)':
 
Routines:255:53: error: 'ExternalEeprom_write' was not declared in this scope
 
   ExternalEeprom_write(address, (value >> 8) & 0xFF );
 
                                                     ^
 
Using library DataFlash in folder: C:\Users\lotus\Documents\Arduino\libraries\DataFlash (legacy)
exit status 1
'ExternalEeprom_read' was not declared in this scope


Thanks Andy
Reply


Messages In This Thread
WeatherDuino_P2AT328_RX_v4.0_b001 Compile error - by atbukc - 17-02-2019, 19:46
RE: WeatherDuino_P2AT328_RX_v4.0_b001 Compile error - by werk_ag - 18-02-2019, 02:32
RE: WeatherDuino_P2AT328_RX_v4.0_b001 Compile error - by atbukc - 18-02-2019, 10:45
RE: WeatherDuino_P2AT328_RX_v4.0_b001 Compile error - by werk_ag - 21-02-2019, 02:34
RE: WeatherDuino_P2AT328_RX_v4.0_b001 Compile error - by atbukc - 21-02-2019, 10:11



Users browsing this thread: 1 Guest(s)