Can't get sample sketch to compile

I've built the shield version of the emontx, and going to test it out on my duemilanove. 

I've installed JeeLib.h and emonlib.h into ~/Documents/Arduino/libraries on my mac, and when I try to compile the sample sketch, I get "EnergyMonitor does not name a type". It looks like it's not loading these libs correctly.

Any ideas?

 

 

 

 

Robert Wall's picture

Re: Can't get sample sketch to compile

It might be a stupid question: What about the rest of JeeLib and EmonLib?  You should have a directory JeeLib containing some 16 files and an examples sub-directory, and a directory EmonLib containing 3 files and an examples sub-directory. Plus you need to restart the IDE (i.e. close all its windows) after installing the libraries.

If that doesn't work, I'm lost because I don't use a Mac.

Comment viewing options

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