Libraries v0.8.5.16

Related to the development libraries, released by Curt Binder
Post Reply
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Libraries v0.8.5.16

Post by rimai »

astralmind wrote:So in other words to enable SIMPLE_MENU we can generate our PDE with Ragen and simply add the

#define SIMPLE_MENU

to the PDE ?

Any plans for a new release of RAgen updated with new features :) ?

Thanks!
Actually the line goes into ReefAngel_Features.h file, which is located inside "Documents\Arduino\Libraries\ReefAngel_Features"
Roberto.
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Libraries v0.8.5.16

Post by binder »

Bryan wrote: Thanks Curt,starting to come together now. :)

So if one installed RAGEN without the libraries, the newly created ReefAngel_Features.h needs to be copied over to the Arduino libraries where I keep the latest development libraries. Seems to me it makes more sense to keep the development librariies where the RAGen install prompts in the document folder, and keep them sepearte from any othe libraries in my default Arduino folder.
What you can do is tell RAGen where your arduino libraries folder is located, then it will save the features file in the proper spot. Under Edit -> Settings, you can change the Sketch / PDE directory and the arduino libraries directory too.

I would suggest keeping the reefangel libraries located in the My Documents\Arduino folder, away from the standard/default libraries folder that ships with arduino. This way you can update the arduino software without having to move around your libraries folder. It just makes things very simple. It's how I do it too.

Yes, an updated RAGen is in the works. I'm making some big changes to it to be more expandable and more user friendly PLUS be cross platform. As you can imagine, this will require some work to get things to function properly. I've also not had a lot of time to focus on it due to getting some much needed features added to my libraries for others to interact with. There's always something. :)

curt
Bryan
Posts: 147
Joined: Wed Jul 06, 2011 1:49 am
Location: Vancouver, B.C.

Re: Libraries v0.8.5.16

Post by Bryan »

I would suggest keeping the reefangel libraries located in the My Documents\Arduino folder, away from the standard/default libraries folder that ships with arduino. This way you can update the arduino software without having to move around your libraries folder. It just makes things very simple. It's how I do it too.
Yes, good advice, it get's confusing with different versions when there is copies all over the place, especially if using RAgen.
Yes, an updated RAGen is in the works. I'm making some big changes to it to be more expandable and more user friendly PLUS be cross platform. As you can imagine, this will require some work to get things to function properly. I've also not had a lot of time to focus on it due to getting some much needed features added to my libraries for others to interact with. There's always something. :)

curt
Please keep them coming, excellent work. I bet you and Roberto are running into a wall with available memory with the 328 though.

Cheers

-=Bryan=-
-=Bryan=-
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Libraries v0.8.5.16

Post by rimai »

Hey Curt,
Can you add a safety check for faulty sensor on your dev libraries?
Reference: http://forum.reefangel.com/viewtopic.php?f=7&t=152
Maybe when you compare for abnormalities, you could also compare for 0 readings, which would indicate a faulty sensor.
Do you think it would work?
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Libraries v0.8.5.16

Post by rimai »

I sent you a pull request.
Let me know what you think about it.
To simulate, simply unplug the sensor after you boot the controller.
Roberto.
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Libraries v0.8.5.16

Post by binder »

rimai wrote:I sent you a pull request.
Let me know what you think about it.
To simulate, simply unplug the sensor after you boot the controller.
Ok. I saw the request. I'll test it out and let you know what I think.

curt
astralmind
Posts: 99
Joined: Fri Apr 01, 2011 10:53 am

Re: Libraries v0.8.5.16

Post by astralmind »

Curt, I noticed you mention something about "interverting" the SingleATO code in the latest library, does that mean that the whole debate we had there: http://forum.reefangel.com/viewtopic.ph ... 4&start=10
now goes the other way around ? I definitly want to keep everything up to date and give RA Client2.2 a try but wouldn't want to mess up my ATO code... I'm currently using the code I had suggested at the very end of that thread.

And glad to hear you are working on a super boosted version of RAgen, that's awesome, we'll all patiently wait ;)
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Libraries v0.8.5.16

Post by binder »

Correct. The wires are now mounted up/out of the water. The timeouts still function the same just everything is flipped.

curt
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Libraries v0.8.5.16

Post by binder »

rimai wrote:I sent you a pull request.
Let me know what you think about it.
To simulate, simply unplug the sensor after you boot the controller.
Tested it and it works good for me. It'll be in the next release.

curt
Post Reply