17-02-2019, 19:46
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
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