Custom display

Share you PDE file with our community
Post Reply
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Custom display

Post 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);
Roberto.
Appleseed
Posts: 86
Joined: Sat Jun 30, 2012 9:21 am

Re: Custom display

Post by Appleseed »

Thanks for that Roberto is working just how I wanted it :D :D :D
Image
Post Reply