Brand new
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am
Re: Brand new
You can look at my code for some examples of all the things you can do. How much experience with C do you have? Let us know what you'd like to do next so we can point you in the right direction. You can view the API at http://www.easte.net/ra/html
-
Lionfan
- Posts: 164
- Joined: Wed Nov 26, 2014 8:53 am
Re: Brand new
I have no experience with C. Or any programming. But I will try to learn as much as I can
- cosmith71
- Posts: 1432
- Joined: Fri Mar 29, 2013 3:51 pm
- Location: Oklahoma City
Re: Brand new
Check this out. It's a tutorial I wrote on basic code structure. It's a good place to get familiar with basics.
http://forum.reefangel.com/viewtopic.php?f=14&t=3353
Next, decide what you want to do. Easier said than done.
Like Lee said, go to the "My PDE/INO" board and check out what other folks have done. Don't worry if you don't understand it. If you see something you like we can help you adapt it.
--Colin
http://forum.reefangel.com/viewtopic.php?f=14&t=3353
Next, decide what you want to do. Easier said than done.
--Colin
-
Lionfan
- Posts: 164
- Joined: Wed Nov 26, 2014 8:53 am
Re: Brand new
Thanks for the link. Makes a little more sense. What id like to do is have a graph on the controller, and label the ports
- cosmith71
- Posts: 1432
- Joined: Fri Mar 29, 2013 3:51 pm
- Location: Oklahoma City
Re: Brand new
Labeling the ports on the controller.
Add this to the setup() section:
The first set is the included relay box, and the second and third sections are for expansion relays. Just use what you need.
The old main screen had a graph, but the old main screen is terrible. Maybe someone can chime in on how to add one to the 2014 screens.
--Colin
Add this to the setup() section:
Code: Select all
// Define labels for 2014 LCD screen
ReefAngel.CustomLabels[0]="Fan";
ReefAngel.CustomLabels[1]="Heater";
ReefAngel.CustomLabels[2]="Skimmer";
ReefAngel.CustomLabels[3]="Return";
ReefAngel.CustomLabels[4]="Swabbie";
ReefAngel.CustomLabels[5]="Sump Light";
ReefAngel.CustomLabels[6]="Canopy Fans";
ReefAngel.CustomLabels[7]="Refugium Light";
ReefAngel.CustomLabels[Box1_Port1Label] = "Alk Pump";
ReefAngel.CustomLabels[Box1_Port2Label] = "Cal Pump";
ReefAngel.CustomLabels[Box1_Port3Label] = "Top Off";
ReefAngel.CustomLabels[Box1_Port4Label] = "";
ReefAngel.CustomLabels[Box1_Port5Label] = "";
ReefAngel.CustomLabels[Box1_Port6Label] = "";
ReefAngel.CustomLabels[Box1_Port7Label] = "";
ReefAngel.CustomLabels[Box1_Port8Label] = "";
ReefAngel.CustomLabels[Box2_Port1Label] = "Virt Alk";
ReefAngel.CustomLabels[Box2_Port2Label] = "Virt Cal";
ReefAngel.CustomLabels[Box2_Port3Label] = "";
ReefAngel.CustomLabels[Box2_Port4Label] = "";
ReefAngel.CustomLabels[Box2_Port5Label] = "";
ReefAngel.CustomLabels[Box2_Port6Label] = "";
ReefAngel.CustomLabels[Box2_Port7Label] = "";
ReefAngel.CustomLabels[Box2_Port8Label] = "";The old main screen had a graph, but the old main screen is terrible. Maybe someone can chime in on how to add one to the 2014 screens.
--Colin