Page 1 of 1

Re: Custom display

Posted: Mon Jul 23, 2012 3:58 pm
by rimai
Sorry.
I just realized that you are using DrawLargeText.
Use this then:

Code: Select all

  char text[10];

  ReefAngel.LCD.DrawText(0,255,18,21,"Vortech Speed");  //ignore x,y for now
  ConvertNumToString(text, vtechspeed, 1);
  if (vtechspeed )ReefAngel.LCD.DrawLargeText(COLOR_LIMEGREEN,255,35,32,text);

  ReefAngel.LCD.DrawText(0,255,18,21,"Vortech Duration"); //ignore x,y for now
  ConvertNumToString(text, vtechpercent, 1);
  if (vtechpercent) ReefAngel.LCD.DrawLargeText(COLOR_LIMEGREEN,255,35,32,text);

Re: Custom display

Posted: Mon Jul 23, 2012 11:26 pm
by Appleseed
Thanks for that Roberto is working just how I wanted it :D :D :D