.. csv-table:: :header: "Command", "Extra information" :widths: 20, 30 " ``TFTCMD,`` "," Control the screen (on, off, clear,..) Examples: - ``tftcmd,on`` Switch display on. - ``tftcmd,off`` Switch display off. - ``tftcmd,clear`` Clear whole display. - ``tftcmd,clear,green`` Clear whole display with green color. - ``tftcmd,inv,1`` Invert the dispaly (value:0 normal display, 1 inverted display) - ``tftcmd,rot,2`` Rotate display (value from 0 to 3 inclusive) " " ``TFT,,....`` "," Draw line, rect, circle, triangle and text Subcommands: - ``tft,txt,`` Write simple text (use last position, color and size) - ``tft,txp,,`` Set text position (move the cursor) - ``tft,txc,,`` Set text color (background is transparent if not provided - ``tft,txs,`` Set text size - ``tft,txtfull,,,,,,`` Write text with all options - ``tft,l,,,<2>,,`` Draw a simple line - ``tft,lh,,,`` Draw an horizontal line (width = Line width in pixels (positive = right of first point, negative = point of first corner). - ``tft,lv,,,`` Draw a vertical line (height= Line height in pixels (positive = below first point, negative = above first point). - ``tft,r,,,,,`` Draw a rectangle - ``tft,rf,,,,,,`` Draw a filled rectangle - ``tft,c,,,,`` Draw a circle - ``tft,cf,,,,,`` Draw a filled circle - ``tft,t,,,,,,,`` Draw a triangle - ``tft,tf,,,,,,,,`` Draw a filled triangle - ``tft,rr,,,,,,`` Draw a round rectangle - ``tft,rrf,,,,,,,`` Draw a filled round rectangle - ``tft,px,,,`` Print a single pixel - ``tft,font,`` Switch to font - SEVENSEG24, SEVENSEG18, FREESANS, DEFAULT " Examples: Write Text : ``tft,txtfull,0,0,HelloWorld`` Write Text another place: ``tft,txtfull,100,40,HelloWorld`` Write bigger Text : ``tft,txtfull,0,0,3,HelloWorld`` Write RED Text : ``tft,txtfull,0,0,3,HelloWorld`` Write RED Text (size is 1): ``tft,txtfull,0,0,1,RED,HelloWorld`` Write RED Text on YELLOW background (size is 1): ``tft,txtfull,0,0,1,RED,YELLOW,HelloWorld`` Select font : - ``tft,font,SEVENSEG24`` - ``tft,txtfull,0,0,1,RED,17.0``