## screens3.txt: TFT display (portrait) ## based on http://www.p1337.synology.me/dokuwiki/doku.php?id=public:wettersonden # Definition of display content and action behaviour # # Timer: (view timer, rx timer, norx timer) # - value -1: timer is disabled; value>=0: timer fires after (value) seconds # - view timer: time since current view (display mode and sonde) was started # - rx timer: time since when sonde data has been received continuously (trigger immediatly after RX) # - norx timer: time since when no sonde data has been received continuously # (rx and norx timer is started after tuning a new frequency and receiving a signal or not receiving # anything for a 1s period) # # Actions: # - W: activate WiFi scan # - F: activate frequency spectrum display # - 0: activate "Scan:" display (this is basically just display mode 0) # - x: (1..N): activate display mode x [deprecated] # - >: activate next display mode # - D: activate default receiver display (display mode specified in config) # - +: advance to next active sonde from QRG config # - #: no action # # Display content (lower/upper case: small/large font) # line,column=content # for ILI9225 its also possible to indicate # line,column,width=content for text within a box of width 'width' # line,column,-width=content for right-justified text # # XText : Text # F(suffix): frequency (with suffix, e.g., " MHz") # L latitade # O lOngitute # A altitude # Hm(suffix) hor. speed m/s (suffix: e.g. "m/s"; no suffix=>m/s as 16x8 bitmap for SSD1306 display only) # Hk(suffix) hor. speed km/h (suffix: e.g. "km/h"; no suffix=>km/h as 16x8 bitmap for SSD1306 display only) # V(suffix) vert. speef (suffix: e.g. "m/s"; no suffix=>m/s as 16x8 bitmap for SSD1306 display only) # Ix sonde ID (default/d: dxlaprs; s: short id, n: real serial number) # RS41,RS92: all identical R1234567 # DFMx: ID M12345678; short ID and serial 12345678 # M10: ID ME95231F0; short ID: M95231F0; serial 9062104592 # Q signal quality statistics bar # T type string (RS41/DFM9/DFM6/RS92) # C afC value # N ip address (only tiny font) # S scan list entry info: l/empty: launch site name, #=entry nr, t=total entries, a=active entries, /: #/t # K RS41 kill timer values: Kl launch timer, Kb burst timer, Kc kill countdown # format: K_4: h:mm k_6: h:mm:ss k_s: sssss, nothing shown for other sonde # Mx telemetry value x (t temp p preassure h hyg) [not yet implemented, maybe some day in future] # Gx GPS-related data # raw data from GPS: GA, GO, GH, GC: LAtitude, lOngitude, Altutide(Height), Course over ground # relative to sonde: GD, GI, GB: Distance, dIrection (absolute), relative Bearing # G0 GPS circle diagram e.g. 3,5=g0NCS,50,ff0000,000033,5,ffff00,4,ffffff # "N" (what is on top: N=north C=course) # "C" (where does the arrow point to: C=course, S=sonde) # "S" (what is shown by the bullet: C=course, S=sonde) # 50: circle radius, followed by fg and bg color # 5: bullet radius, followed by fg color # 4: arrow width, followed by fg color # R RSSI # B battery(T-Beam 1.0) S=status V=Batt.Volt C=charge current D=discharge current # U=USB volt I=USB current T=IC temp # # fonts=x,y can be used to select font (x=small, y=large) for all items below # for SSD1306, x and y can be used to select one of those fonts: # (y should be a 1x2 font (1,5,6,7), x a small font) # u8x8_font_chroma48medium8_r, // 0 ** default small # u8x8_font_7x14_1x2_f, // 1 ** default large # u8x8_font_amstrad_cpc_extended_f, // 2 # u8x8_font_5x7_f, // 3 # u8x8_font_5x8_f, // 4 # u8x8_font_8x13_1x2_f, // 5 # u8x8_font_8x13B_1x2_f, // 6 # u8x8_font_7x14B_1x2_f, // 7 # u8x8_font_artossans8_r, // 8 # u8x8_font_artosserif8_r, // 9 # u8x8_font_torussansbold8_r, // 10 # u8x8_font_victoriabold8_r, // 11 # u8x8_font_victoriamedium8_r, // 12 # u8x8_font_pressstart2p_f, // 13 # u8x8_font_pcsenior_f, // 14 # u8x8_font_pxplusibmcgathin_f, // 15 # u8x8_font_pxplusibmcga_f, // 16 # u8x8_font_pxplustandynewtv_f, // 17 # # for ILI9225, these fonts are available: # Terminal6x8 // 0 # Terminal11x16 // 1 # Terminal12x16 // 2 # FreeMono9pt7b, // 3 # FreeMono12pt7b, // 4 # FreeSans9pt7b, // 5 # FreeSans12pt7b, // 6 # Picopixel, // 7 # # color=rrggbb,rrggbb can be used to select color (foreground, background) # see https://github.com/Nkawu/TFT_22_ILI9225/wiki#color-reference for example (use without "#"-sign) # # for TFT display, coordinates and width are multiplied by xscale,yscale and later used in pixels # with scale=1,1 you can directly use pixel coordinates. (default: xscale=13,yscale=22 => 8 lines, 16 columns) ########### # # Default configuration for "Scanner" display: # - view timer disabled; rx timer=0; norx timer = 0 # => after 1 second immediately an action is triggered # (norx: go to next sonde; rx: go to default receiver display) # - key1 actions: D,0,F,W # => Button press activates default receiver view, double press does nothing # Mid press activates Spectrum display, long press activates Wifi scan # - key2 has no function ########### @ScannerTFT-D timer=-1,0,0 key1action=F,#,#,W key2action=>,#,#,# timeaction=#,D,+ scale=11,10 fonts=0,2 color=FFFFFF 0,0.3=XSuche... color=79CDCD 3,0.3=xFreq. Platz color=FFFFFF 4,0.3,3=S# color=79CDCD,0 6,0.3=xStartort color=FFFFFF 7,0.3,20=S color=79CDCD,0 9,0.3=xTyp color=FFFFFF 10,0.33,5=T color=79CDCD 9,15=xFrequenz color=FFFFFF 10,15=F color=79CDCD 28,0.3=xScanner 28,9=n 28,21=bVV ############ @MainTFT-D timer=-1,-1,-1 key1action=0,#,F,W key2action=+,#,#,# timeaction=#,#,0 scale=11,10 fonts=0,2 color=79CDCD 0,0.3=xSerial 0,6,10=t color=FFFFFF 1,0.3=Is color=79CDCD 0,14=xFreq. 0,17.5=s color=FFFFFF 1,14=F color=79CDCD 3,0.3=xLatitude color=FFFFFF 4,0.3,10=L color=79CDCD 3,14=xLongitude color=FFFFFF 4,14,23=O color=79CDCD 6,0.3=xHoriz. Geschw. color=FFFFFF 7,0.3,10=Hkkm/h color=79CDCD 6,14=xVert. Geschw. color=FFFFFF 7,14,23=Vm/s color=79CDCD 9.5,14=xHoehe Sonde color=ffff00 10.7,14,23=A color=ffff00,000033 9,1=g0CCS,45,ffff00,000044,4,55ff55,4,eeaa00 color=bbbbbb,000000 color=79CDCD 12.5,14=xHoehe RX color=ffff00 13.5,14,23=GH color=79CDCD 15.5,14=xTimer color=ffff00 16.5,14,23=Kc4 fonts=0,8 color=FFFFFF 18.7,0,-12.3=GD fonts=0,2 color=79CDCD 19,14=xRSSI color=FFFFFF 20,14,23=R color=79CDCD 22,0.3=xLufttemperatur color=FFFFFF 23,0.3,10=Mt°C color=79CDCD 22,14=xLuftfeuchtigkeit color=FFFFFF 23,14,23=Mh%rH color=79CDCD 25,0.3=xLuftdruck color=FFFFFF 26,0.3,10=MphPa color=79CDCD 25,14=xZellenspannung color=FFFFFF 26,14,23=MbV color=FFFFFF 28,0.3=Q color=79CDCD 28,13=c 28,21=bVV ########### @ScannerTFT-E timer=-1,0,0 key1action=F,#,#,W key2action=>,#,#,# timeaction=#,D,+ scale=11,10 fonts=0,2 color=FFFFFF 0,0.3=XScan... color=79CDCD 3,0.3=xFreq. index color=FFFFFF 4,0.3,3=S# color=79CDCD,0 6,0.3=xLaunchsize color=FFFFFF 7,0.3,20=S color=79CDCD,0 9,0.3=xType color=FFFFFF 10,0.33,5=T color=79CDCD 6,15=xFrequency color=FFFFFF 7,15=F color=79CDCD 28,0.3=xScanner 28,9=n 28,21=bVV ############ @MainTFT timer=-1,-1,-1 key1action=0,#,F,W key2action=+,#,#,# timeaction=#,#,0 scale=11,10 fonts=0,2 color=79CDCD 0,0.3=xSerial 0,6,10=t color=FFFFFF 1,0.3=Is color=79CDCD 0,14=xFreq. 0,17.5=s color=FFFFFF 1,14=F color=79CDCD 3,0.3=xLatitude color=FFFFFF 4,0.3,10=L color=79CDCD 3,14=xLongitude color=FFFFFF 4,14,23=O color=79CDCD 6,0.3=xHor.Velocity color=FFFFFF 7,0.3,10=Hkkm/h color=79CDCD 6,14=xVert.Velocity color=FFFFFF 7,14,23=Vm/s color=79CDCD 9.5,14=xAltitude color=ffff00 10.7,14,23=A color=ffff00,000033 9,1=g0CCS,45,ffff00,000044,4,55ff55,4,eeaa00 color=bbbbbb,000000 color=79CDCD 12.5,14=xRX Altitude color=ffff00 13.5,14,23=GH color=79CDCD 15.5,14=xTimer color=ffff00 16.5,14,23=Kc4 fonts=0,8 color=FFFFFF 18.7,0,-12.3=GD fonts=0,2 color=79CDCD 19,14=xRSSI color=FFFFFF 20,14,23=R color=79CDCD 22,0.3=xTemperature color=FFFFFF 23,0.3,10=Mt°C color=79CDCD 22,14=xHumidity color=FFFFFF 23,14,23=Mh%rH color=79CDCD 25,0.3=xPressure color=FFFFFF 26,0.3,10=MphPa color=79CDCD 25,14=xSonde Battery color=FFFFFF 26,14,23=MbV color=FFFFFF 28,0.3=Q color=79CDCD 28,13=c 28,21=bVV