Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

New Station nearly up and running
#7

Actually I found the line because we were talking and t3g was wondering…  Blush 

Code:
tft.setTextColor(TFT_WHITE, TFT_BLACK);
 tft.setTextSize(1);
 for (byte i = 0; i < 4; i++)
 {
   if (Display.BatVolt[i] !=0)
   {
     tft.setCursor(130 + (i * 47), 100);
     dtostrf(Display.BatVolt[i] / 100.0, 5, 1, char_buf);
     tft.print(char_buf);
     tft.setCursor(130 + (i * 47), 112);
     if (Temp_Display_Unit == 0) dtostrf(Display.TXcaseTemp[i] / 100.0, 5, 1, char_buf);
     else dtostrf((Display.TXcaseTemp[i] * 0.018) + 32.0, 5, 1, char_buf);
     tft.print(char_buf);
     if (Display.RSfan[i] == 0)
     {
       tft.setTextColor(TFT_GREEN, TFT_BLACK);
       strcpy_P(TFT_strBuf, (PGM_P)SItext_table[12]);  // "OFF"
     }
     else
     {
       tft.setTextColor(TFT_RED, TFT_BLACK);
       strcpy_P(TFT_strBuf, (PGM_P)SItext_table[11]);  // "ON "
     }
     tft.drawString((char*) TFT_strBuf, 140 + (i * 47), 124, 1);           // Print state of the RS fan
   }
   tft.setTextColor(TFT_WHITE, TFT_BLACK);
 }

In D_TFT of the WD software. So it is sent, received but not displayed if there is no voltage measured on the TX modules.

engolling
Reply


Messages In This Thread
New Station nearly up and running - by heebyjeeby - 10-06-2018, 21:26
RE: New Station nearly up and running - by hornychz - 11-06-2018, 11:28
RE: New Station nearly up and running - by heebyjeeby - 11-06-2018, 14:00
RE: New Station nearly up and running - by t3gathome - 11-06-2018, 15:13
RE: New Station nearly up and running - by werk_ag - 11-06-2018, 17:44
RE: New Station nearly up and running - by werk_ag - 11-06-2018, 17:23
RE: New Station nearly up and running - by engolling - 11-06-2018, 18:15
RE: New Station nearly up and running - by werk_ag - 13-06-2018, 22:02
RE: New Station nearly up and running - by heebyjeeby - 11-06-2018, 23:02
RE: New Station nearly up and running - by werk_ag - 13-06-2018, 22:04
RE: New Station nearly up and running - by heebyjeeby - 13-06-2018, 22:53
RE: New Station nearly up and running - by werk_ag - 14-06-2018, 02:14
RE: New Station nearly up and running - by heebyjeeby - 14-06-2018, 14:35
RE: New Station nearly up and running - by werk_ag - 14-06-2018, 17:22
RE: New Station nearly up and running - by heebyjeeby - 14-06-2018, 22:24
RE: New Station nearly up and running - by werk_ag - 15-06-2018, 02:30
RE: New Station nearly up and running - by heebyjeeby - 23-06-2018, 23:00
RE: New Station nearly up and running - by werk_ag - 24-06-2018, 01:06
RE: New Station nearly up and running - by heebyjeeby - 15-07-2018, 22:38
RE: New Station nearly up and running - by hornychz - 16-07-2018, 00:09
RE: New Station nearly up and running - by werk_ag - 15-07-2018, 23:25



Users browsing this thread: 1 Guest(s)