emonglcd tester not compiling

Hey,

 

I tried to compile the emonglcd tester sketch, but it's not working....

can help me someone?

 

The compiler shows me:

/home/cri/sketchbook/libraries/glcdlib/GLCD_proxy.cpp: In member function ‘void GLCD_proxy::sendLCDMessage(byte)’:
/home/cri/sketchbook/libraries/glcdlib/GLCD_proxy.cpp:183:52: error: no matching function for call to ‘rf12_sendStart(int, byte [66], byte&, int)’
/home/cri/sketchbook/libraries/jeelib/RF12.h:93:6: note: candidates are: void rf12_sendStart(uint8_t)
/home/cri/sketchbook/libraries/jeelib/RF12.h:95:6: note:                 void rf12_sendStart(uint8_t, const void*, uint8_t)

 

 

thanks a lot

 

Chrissel

 

ukmoose's picture

Re: emonglcd tester not compiling

Where did you get your RF12 library from?

Did you see this post?

http://openenergymonitor.org/emon/node/3850

 

Robert Wall's picture

Re: emonglcd tester not compiling

I've just made that a sticky. (I don't know why Glyn didn't.)

chrissel's picture

Re: emonglcd tester not compiling

Hey,

 

thanks a lot!! The tester function now is working!

 

But now, the OpenEnergyMonitor is not working:

/home/cri/sketchbook/libraries/rtclib/RTClib.cpp: In static member function ‘static uint8_t RTC_DS1388::EEPROMRead(uint16_t)’:
/home/cri/sketchbook/libraries/rtclib/RTClib.cpp:366:28: error: no matching function for call to ‘TwoWire::endTransmission(int)’
/usr/share/arduino/libraries/Wire/Wire.h:52:13: note: candidate is: uint8_t TwoWire::endTransmission()
/home/cri/sketchbook/libraries/rtclib/RTClib.cpp: In static member function ‘static void RTC_DS1388::EEPROMReadPage(uint8_t, uint8_t*)’:
/home/cri/sketchbook/libraries/rtclib/RTClib.cpp:405:28: error: no matching function for call to ‘TwoWire::endTransmission(int)’
/usr/share/arduino/libraries/Wire/Wire.h:52:13: note: candidate is: uint8_t TwoWire::endTransmission()

I thought, at the Built-Block, there are the download links to run the system? Do I need therfore also an old Version??

 

Thanks a lot

Chrissel

Robert Wall's picture

Re: emonglcd tester not compiling

Have you got all the libraries in your Arduino libraries folder? I think you are missing the Wire library. It should have been downloaded and installed when you installed the Arduino IDE, in the libraries folder of Arduino-1.0.5 (or whichever version you have).

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.