Displaying salinity on custom main screen

Do you have a question on how to do something.
Ask in here.
Post Reply
ahmedess
Posts: 174
Joined: Sun May 22, 2011 2:29 pm

Displaying salinity on custom main screen

Post 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?
Last edited by ahmedess on Tue Dec 27, 2011 2:16 pm, edited 1 time in total.
Deckoz2302
Posts: 149
Joined: Tue Nov 01, 2011 11:05 am

Re: Displaying salinity on custom main screen

Post 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);
Post Reply