Pre loaded code

Share you PDE file with our community
Post Reply
enviro-1
Posts: 20
Joined: Sat Mar 24, 2012 6:19 pm

Pre loaded code

Post by enviro-1 »

Ok I am really new at this. I have had my RA up and running for a while with the preloaded code that came on it. I decided today to mess around and try a few different INO files, but decided that for now, I just want to re-load the factory file it had. Well, I clicked "restore pre-loaded code in the Arduino program and uploaded it with no issues, problem is, this is not the preloaded code I had before! I was able to set up my daytime and actinic strength levels from the main menu on the controller, and I had a whole lot more menu items than this preloaded code has. Where can I get my old preloaded code??? Ive looked at so many different codes today that now I cant really remember what I had before :/ Help!
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Pre loaded code

Post by rimai »

Did your old preloaded code have the words "Reef Angel" at the bottom or had the words "Reef Angel Demo" on top?
Roberto.
enviro-1
Posts: 20
Joined: Sat Mar 24, 2012 6:19 pm

Re: Pre loaded code

Post by enviro-1 »

yes It definitely had "Demo" at the top.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Pre loaded code

Post by rimai »

Try this one.
Attachments
ReefAngelSimple.ino
(58.44 KiB) Downloaded 522 times
Roberto.
enviro-1
Posts: 20
Joined: Sat Mar 24, 2012 6:19 pm

Re: Pre loaded code

Post by enviro-1 »

Yes thats it! But I uploaded it and now I cant select any options???
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Pre loaded code

Post by rimai »

What do you mean with "can't select any option"?
Roberto.
enviro-1
Posts: 20
Joined: Sat Mar 24, 2012 6:19 pm

Re: Pre loaded code

Post by enviro-1 »

with the toggle, when I try to select any of the menu options, it does nothing, I cant enter any of the menu items 1 through 14. I cant even exit.
enviro-1
Posts: 20
Joined: Sat Mar 24, 2012 6:19 pm

Re: Pre loaded code

Post by enviro-1 »

I can scoll thru but cannot select by pushing down on the joystick.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Pre loaded code

Post by rimai »

Do you have RA+?
Roberto.
enviro-1
Posts: 20
Joined: Sat Mar 24, 2012 6:19 pm

Re: Pre loaded code

Post by enviro-1 »

I am pretty sure I have RA, not plus.
enviro-1
Posts: 20
Joined: Sat Mar 24, 2012 6:19 pm

Re: Pre loaded code

Post by enviro-1 »

definitely RA not plus.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Pre loaded code

Post by rimai »

I got the same results.
That code is so old and has not been updated with everything that has been developed since.
It's got to be something that has been updated on the new Arduino IDE or our libraries and I'm not going to even try to find what the problem is.
I have a compiled version of that code that will work though.
Unzip the file and open the file loadReefAngelSimple.bat on notepad.
Change the COM3 to whatever serial port you are using.
Save the file and double-click to execute it.
Let me know if you have problems.
Attachments
ReefAngelSimple.zip
(437.31 KiB) Downloaded 483 times
Roberto.
enviro-1
Posts: 20
Joined: Sat Mar 24, 2012 6:19 pm

Re: Pre loaded code

Post by enviro-1 »

Sorry to be a pain. Cant load it. Im getting "The program can't start because libusb0.dll is missing from your computer. Try reinstalling the program to fix this problem."
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Pre loaded code

Post by rimai »

I guess you need an older version of avrdude too.
Try this one.
Attachments
ReefAngelSimple.zip
(601.51 KiB) Downloaded 444 times
Roberto.
enviro-1
Posts: 20
Joined: Sat Mar 24, 2012 6:19 pm

Re: Pre loaded code

Post by enviro-1 »

Same thing. Grrr
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Pre loaded code

Post by rimai »

I think the only way is to use an older release of everything.
http://www.reefangel.com/files/reefangelinstaller.exe
The current preloaded code has almost everything the other one had it though.
Why do you want to use the old code?
Roberto.
enviro-1
Posts: 20
Joined: Sat Mar 24, 2012 6:19 pm

Re: Pre loaded code

Post by enviro-1 »

The one I loaded from Arduino has almost nothing the old one had. I just liked the ability to adjust my light intensity from the main menu. Plus it just looked better. I plan on writing my own anyway, I just liked the idea I could fall back on the old code until I can devote enough time to learn how to write my own.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Pre loaded code

Post by rimai »

The current preloaded code has it too.
Download the user manual which explains each menu. It would be Lights->LED PWM
Roberto.
enviro-1
Posts: 20
Joined: Sat Mar 24, 2012 6:19 pm

Re: Pre loaded code

Post by enviro-1 »

I couldnt figure that out, but I will try again. Thanks for all your help.
enviro-1
Posts: 20
Joined: Sat Mar 24, 2012 6:19 pm

Re: Pre loaded code

Post by enviro-1 »

Should I do that through the Arduino program, or the RAgen?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Pre loaded code

Post by rimai »

Use the restore preloaded code on Arduino just like you did before.
Roberto.
enviro-1
Posts: 20
Joined: Sat Mar 24, 2012 6:19 pm

Re: Pre loaded code

Post by enviro-1 »

Great thanks again Roberto.
Post Reply