Arduino showing error when uploading

Hello

I have just finished bulding a emonTx board which I received today, and when I try to upload the emonTx_CT123_Voltage file it displays an error saying" 'Sleepy' has not been declared".

I have chose that file as I intend to use both the ct's and ac to ac adaptor.

I fully expect there is something I have missed, but I have checked the Board is set to Arduino Uno, and Serial Port is Port 3 (as noted in Device Manager).

Thanks

Dennis

Tailzer's picture

Re: Arduino showing error when uploading

I'd check you havnt modified the emonTX code by mistake as 'Sleepy' not declared is a code error rather than a build or setting error?

Try downloading the latest ones from the GitHub link at the top og the page, dont forget to download and extract the EmonLib folder to your arduino Lib folder renaming to be EmonLib if it extracts with a longer foldername.

 

Gary

glyn.hudson's picture

Re: Arduino showing error when uploading

Have you installed the JeeLib Arduino library? See the download instructions on the github readme. 

logic's picture

Re: Arduino showing error when uploading

Thanks for your replies.

I had installed the JeeLib to the library, but I hadn't realised I needed to rename the files which were downloaded.  I've now done so and the the Arduino displayed a 'Done Uploading' message then the green LED lit on the board so something positive must be happening.

More reading to do I think

Thanks again

Dennis

glyn.hudson's picture

Re: Arduino showing error when uploading

Fantastic, that sounds like it's working perfectly. Good work.