Page 1 of 1
RAGen v1.2.1
Posted: Wed Feb 15, 2012 6:25 pm
by binder
For those who encountered an error with RAGen in generating Internal Memory files, I have fixed that issue. RAGen is now capable of generating the file properly to compile.
For those who have already ran the installer and updated the libraries, here is a direct link to download RAGen.
https://github.com/downloads/curtbinder ... static.zip
This version is
v1.2.1.158.
Simply download, unzip and place in "C:\Program Files\Reef Angel Controller". Make sure you overwrite the existing RAGen.
Enjoy!

Re: RAGen v1.2.1
Posted: Wed Feb 15, 2012 7:50 pm
by rossbryant1956
thx binder..
those of us chickens that were waiting until the patch came out can now just follow the regular instructions or do we also need to patch in this new version?
Again, thx
Re: RAGen v1.2.1
Posted: Wed Feb 15, 2012 8:15 pm
by rimai
I uploaded the new installer with the new RAGen in it.
Download it at:
http://reefangel.com/Download.ashx
Re: RAGen v1.2.1
Posted: Wed Feb 15, 2012 9:00 pm
by bigHUN
both the new installer and Ragen looks way better

and working! the client is a bit lagging but its OK
Re: RAGen v1.2.1
Posted: Wed Feb 15, 2012 10:30 pm
by Seedlessone
everything seems to be working just fine now. Thanks to everyone that was invloved.
Re: RAGen v1.2.1
Posted: Thu Feb 16, 2012 8:50 pm
by rossbryant1956
attempting to follow instructions...getting error class twowire has no member named read. What was additionaly weird is that the example memory file will not load either. Same error. Thx
Re: RAGen v1.2.1
Posted: Thu Feb 16, 2012 8:56 pm
by rimai
Download the installer from
http://www.reefangel.com/Download.ashx
I had to repackage to include new version of RAGen and added also one missing library that was used on the simple code.
This way, you know for sure you are up-to-date with the libraries and RAGen.
Re: RAGen v1.2.1
Posted: Thu Feb 16, 2012 9:48 pm
by TanksNStuff
I used the new RA installer download, ran it and it installed Arduino 1.0, Dev Lib v0.9.0, RAGen 1.2.1.158 (for v0.9.0 Libs), and Graphical WiFi Utility.
Ran RAGen and created new Internal Memory file, then launched Arduino 1.0 and tried to upload memory.
Got the following error (replaced my name with ****** for security):
Code: Select all
In file included from Memory_021612_2333.cpp:9:
C:\Users\******\Documents\Arduino\libraries\Globals/Globals.h:27:29: error: RA_CustomColors.h: No such file or directory
Memory_021612_2333.cpp: In function 'void setup()':
Memory_021612_2333:23: error: 'COLOR_WHITE' was not declared in this scope
Memory_021612_2333.cpp: In function 'void loop()':
Memory_021612_2333:77: error: 'COLOR_BLACK' was not declared in this scope
Memory_021612_2333:77: error: 'COLOR_WHITE' was not declared in this scope
There was a yellow hi-lite on the following line in the memory file:
e.Clear(COLOR_WHITE,0,0,132,132);
Do I need to generate / upload a new .ino from RAGen to enable the custom colors first?
Here's the memory file generated in RAGen
Code: Select all
// Autogenerated file by RAGen (v1.2.1.158), (02/16/2012 23:33)
// Memory_021612_2333.ino
//
// This file sets the default values to the Internal Memory
//
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <Time.h>
#include <OneWire.h>
#include <RA_NokiaLCD.h>
#include <avr/pgmspace.h>
#include <InternalEEPROM.h>
#include <Wire.h>
#include <Memory.h>
RA_NokiaLCD e;
void setup()
{
e.Init();
e.Clear(COLOR_WHITE,0,0,132,132);
e.BacklightOn();
InternalMemory.MHOnHour_write(9);
InternalMemory.MHOnMinute_write(0);
InternalMemory.MHOffHour_write(20);
InternalMemory.MHOffMinute_write(30);
InternalMemory.MHDelay_write(5);
InternalMemory.StdLightsOnHour_write(8);
InternalMemory.StdLightsOnMinute_write(0);
InternalMemory.StdLightsOffHour_write(22);
InternalMemory.StdLightsOffMinute_write(0);
InternalMemory.DP1OnHour_write(20);
InternalMemory.DP1OnMinute_write(0);
InternalMemory.DP2OnHour_write(22);
InternalMemory.DP2OnMinute_write(30);
InternalMemory.DP1Timer_write(0);
InternalMemory.DP2Timer_write(0);
InternalMemory.DP1RepeatInterval_write(60);
InternalMemory.DP2RepeatInterval_write(60);
InternalMemory.ATOTimeout_write(60);
InternalMemory.ATOHighTimeout_write(60);
InternalMemory.ATOHourInterval_write(0);
InternalMemory.ATOHighHourInterval_write(0);
InternalMemory.FeedingTimer_write(900);
InternalMemory.LCDTimer_write(600);
InternalMemory.LEDPWMActinic_write(50);
InternalMemory.LEDPWMDaylight_write(50);
InternalMemory.WM1Timer_write(0);
InternalMemory.WM2Timer_write(354);
InternalMemory.HeaterTempOn_write(780);
InternalMemory.HeaterTempOff_write(791);
InternalMemory.ChillerTempOn_write(810);
InternalMemory.ChillerTempOff_write(785);
InternalMemory.OverheatTemp_write(1500);
InternalMemory.PHMax_write(840);
InternalMemory.PHMin_write(550);
InternalMemory.SalMax_write(2550);
InternalMemory.RFMode_write(Constant);
InternalMemory.RFSpeed_write(140);
InternalMemory.RFDuration_write(8);
InternalMemory.RFDuration_write(8);
InternalMemory.PWMSlopeStartD_write(15);
InternalMemory.PWMSlopeEndD_write(128);
InternalMemory.PWMSlopeDurationD_write(60);
InternalMemory.PWMSlopeStartA_write(15);
InternalMemory.PWMSlopeEndA_write(128);
InternalMemory.PWMSlopeDurationA_write(60);
InternalMemory.IMCheck_write(0x5241494D);
}
void loop()
{
// display success screen
e.DrawText(COLOR_BLACK, COLOR_WHITE, MENU_START_COL, MENU_START_ROW*2, "Internal Memory Set");
e.DrawText(COLOR_BLACK, COLOR_WHITE, MENU_START_COL, MENU_START_ROW*4, "Now load your");
e.DrawText(COLOR_BLACK, COLOR_WHITE, MENU_START_COL, MENU_START_ROW*5, " RA code file");
delay(5000);
}
Re: RAGen v1.2.1
Posted: Thu Feb 16, 2012 10:03 pm
by rimai
Open RAGen
Click on features tab
Uncheck Custom Colors
Hit Save
Try to upload now.
Re: RAGen v1.2.1
Posted: Thu Feb 16, 2012 10:04 pm
by TanksNStuff
Should I create a new memory file first, or just uncheck it and use the same one?
That worked (just unchecking, using same memory file), thanks Roberto.
Re: RAGen v1.2.1
Posted: Thu Feb 16, 2012 10:05 pm
by rimai
You can uncheck and use same one.
Make sure to save it though
Re: RAGen v1.2.1
Posted: Thu Feb 16, 2012 10:07 pm
by TanksNStuff
That worked, thanks!
Re: RAGen v1.2.1
Posted: Fri Feb 17, 2012 8:16 pm
by rossbryant1956
rossbryant1956 wrote:attempting to follow instructions...getting error class twowire has no member named read. What was additionaly weird is that the example memory file will not load either. Same error. Thx
I continue to get the same error. I went back, de-installed everything, made sure all had been deleted by the un-install (it hadn't), re-downloaded the installer, and re-installed.
I am seeing Arduino 1.0, I made sure I have the most current libraries...what am I doing wrong?
___________________
found the post:
Oh by the way I must have not hit post a while back, I had made a message indicating that I got the code to compile and load onto the RA by deleting my User/Arduino folder and reinstalling with the Library Update Tool.
Did this, fixed it for now. Thx
Re: RAGen v1.2.1
Posted: Sat Feb 18, 2012 6:33 am
by binder
Cool.
The problem you were running into was that Custom Colors was defined. That just means that you are using your own custom colors in a separate file. That include statement is not placed in the Internal Memory file. So you either have to manually add it or uncheck the Custom Colors (and press save on the Features tab) and then upload your Internal Memory.
Re: RAGen v1.2.1
Posted: Sat Feb 18, 2012 9:46 am
by rimai
Should we include the header file in the internal memory file so we don't run into this problems in the future?
Re: RAGen v1.2.1
Posted: Sat Feb 18, 2012 9:57 am
by binder
rimai wrote:Should we include the header file in the internal memory file so we don't run into this problems in the future?
one step ahead of you, already got that incorporated and will be in next release.

Re: RAGen v1.2.1
Posted: Sat Feb 18, 2012 10:18 am
by rimai
Awesome

Re: RAGen v1.2.1
Posted: Sat Feb 18, 2012 10:24 am
by rossbryant1956
One additional point to consider. I wasn't intentionally using custom colors, unless it was something I did in a previous version of my code\internal memory. Not that far along in my "learning-ness." When I saw the extra post, I looked and thought my directory looked a little gunked up with other files and decided to try this.
Worked like a charm. BTW, again thx you guys. Appreciate all you do.
Re: RAGen v1.2.1
Posted: Mon Feb 20, 2012 9:38 pm
by projectx
I am getting this error My Documents\Arduino\libraries\DS1307RTC\DS1307RTC.cpp:94: error: 'class TwoWire' has no member named 'write'
Any ideas? Started from scratch with my config
Re: RAGen v1.2.1
Posted: Mon Feb 20, 2012 9:41 pm
by rimai
RAGen 1.2.1 and/or libraries 0.9.0 will require Arduino 1.0
My suggestion is rename your libraries folder to librariesold, uninstall the previous installer and install the newest one.
You can download it at
http://www.reefangel.com/Download.ashx
Re: RAGen v1.2.1
Posted: Mon Feb 20, 2012 10:18 pm
by projectx
Thanks that did it, I should know to unistall and start from scratch
Re: RAGen v1.2.1
Posted: Mon Mar 19, 2012 7:35 pm
by image
I'm sure I'm just missing something... but I don't see a 1.2.1 installer on the downloads page? I see a "static", but it's just the RAGen executable. Can I just put that anywhere?
Re: RAGen v1.2.1
Posted: Mon Mar 19, 2012 7:42 pm
by rimai
Ragen is installed for you with the Reef Angel Installer.
http://www.reefangel.com/Download.ashx
Re: RAGen v1.2.1
Posted: Mon Mar 19, 2012 8:01 pm
by image
Ahh... got it. I had a crazy old version of the installer for some reason.
Thanks!