Page 1 of 1

Displaying salinity on custom main screen

Posted: Mon Dec 26, 2011 2:36 pm
by ahmedess
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?

Re: Displaying salinity on custom main screen

Posted: Mon Dec 26, 2011 3:13 pm
by Deckoz2302
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);