I would like to display salinity on custom main screen. I've read the tutorial "RA_Custom_Main_Screen.pdf" and from my understanding I think i should be using this function to display salinity on main screen
ReefAngel.LCD.DrawText(DefaultFGColor, DefaultBGColor, x, y, "Sal:");
ReefAngel.LCD.DrawSingleMonitor(ReefAngel.Params.salinity, COLOR_BLACK, x+23, y, 100);
is that correct?
Displaying salinity on custom main screen
Displaying salinity on custom main screen
Last edited by ahmedess on Tue Dec 27, 2011 2:16 pm, edited 1 time in total.
-
- Posts: 149
- Joined: Tue Nov 01, 2011 11:05 am
Re: Displaying salinity on custom main screen
thats pretty much what I used
Code: Select all
ReefAngel.LCD.DrawText(COLOR_MEDIUMVIOLETRED,DefaultBGColor,8,y+13,"Salinity:");
ReefAngel.LCD.DrawSingleMonitor(ReefAngel.Params.Salinity, COLOR_MEDIUMVIOLETRED, 24,y+23,10);