Problem restoring to Pre-Loaded

Basic / Standard Reef Angel hardware
Post Reply
jtrasap
Posts: 3
Joined: Wed Apr 11, 2012 3:56 pm

Problem restoring to Pre-Loaded

Post by jtrasap »

Hello everyone, I recently purchased a nearly new RA from a fellow reefer and would like to restore it back to the Pre-Loaded software but am running into some problems. I emailed and got a reply from Roberto regarding this a couple days ago but figured it would probably be easier to just address the issue here on the forum, so, here goes. A few days back when I received the controller I attempted to restore it and every time I would do so I'd get an error to the affect of no member named 'DrawLargeText', which I emailed about and now after updating libraries and IDE it seems as though that issue has been resolved what I didn't notice at the time was that if I had scrolled down I would have noticed two more errors.

The two errors which I am still receiving when trying to restore are as follows:


RA_Preloaded:40: error: 'class RA_PWMClass' has no member named 'StandardDaylight'

RA_Preloaded:41: error: 'class RA_PWMClass' has no member named 'StandardActinic'


I'm guessing that this is an issue with the Preloaded code but being a complete newb here, it could very easily be operator error on my part.
Sebyte

Re: Problem restoring to Pre-Loaded

Post by Sebyte »

Have you looked at the tutorials on the Reef Angel website?

In particular this one http://www.reefangel.com/Support.Return ... -code.ashx

It covers how to return to the preloaded code.

I would suggest loading the latest developer libraries and starting from scratch with the tutorials.

Alternatively starting the Arduino IDE and opening file/sketchbook/example codes/ then either Examplecode1 or Examplecode2. They are basic setups which should get you started.

You may need to also install the file Initialinternalmemory which you will find in the same directory. This file will load the RA controler with memory settings needed to get going.
jtrasap
Posts: 3
Joined: Wed Apr 11, 2012 3:56 pm

Re: Problem restoring to Pre-Loaded

Post by jtrasap »

Yeah, followed it step by step, even tried going a different route through: tools>Restore Preloaded code, still same end result.

The fact that after updating to the latest IDE and libraries fixed the first issue leads me to believe that it's a problem with the code.
Sebyte

Re: Problem restoring to Pre-Loaded

Post by Sebyte »

See my update to above
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Problem restoring to Pre-Loaded

Post by rimai »

I'm waiting for the new libraries to be updated.
The reason of the compile error is that I'm in the process of updating the Arduino IDE and libraries that will be used in this new preloaded code.
Documentation got released before the updates :(
It'll be released very shortly.
Roberto.
jtrasap
Posts: 3
Joined: Wed Apr 11, 2012 3:56 pm

Re: Problem restoring to Pre-Loaded

Post by jtrasap »

rimai wrote:I'm waiting for the new libraries to be updated.
The reason of the compile error is that I'm in the process of updating the Arduino IDE and libraries that will be used in this new preloaded code.
Documentation got released before the updates :(
It'll be released very shortly.

Thanks Roberto, I figured it was something along those lines but wanted to make sure that it wasn't just some simple thing that I was missing along the way.
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Problem restoring to Pre-Loaded

Post by binder »

Yeah, I haven't been home to do a release on the latest libraries that has that feature in it. Was giving it some time to "settle" and make sure things were working properly before it got released. Should hopefully be able to get it released tonight when I get home.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Problem restoring to Pre-Loaded

Post by rimai »

Ok, sorry for the delay.
I have a new installer uploaded to the server.
I'd like you to download it and install it.
There is a new feature on this release of the Arduino IDE.
Open the Arduino IDE and go to menu Tools->Restore Preloaded Code
Let me know how it goes as you will be the first one trying it out :)
Roberto.
Post Reply