This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Votes - 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



Users browsing this thread: 1 Guest(s)