acidportal

- 😈 Worlds smallest Evil Portal on a LilyGo T-QT
git clone git://git.acid.vegas/acidportal.git
Log | Files | Refs | Archive | README | LICENSE

Notes.ino (1250B)

      1 /*
      2 
      3 Information notes only:
      4 ======================
      5 
      6 Note: it is best to use drawNumber() and drawFloat() for numeric values
      7       this reduces digit position movement when the value changes
      8       drawNumber() and drawFloat() functions behave like drawString() and are
      9       supported by setTextDatum() and setTextPadding()
     10 
     11 //These are the text plotting alignment (reference datum point)
     12 
     13 TL_DATUM = Top left (default)
     14 TC_DATUM = Top centre
     15 TR_DATUM = Top right
     16 
     17 ML_DATUM = Middle left
     18 MC_DATUM = Middle centre
     19 MR_DATUM = Middle right
     20 
     21 BL_DATUM = Bottom left
     22 BC_DATUM = Bottom centre
     23 BR_DATUM = Bottom right
     24 
     25 L_BASELINE = Left character baseline (Line the 'A' character would sit on)
     26 C_BASELINE = Centre character baseline
     27 R_BASELINE = Right character baseline
     28 
     29 // Basic colours already defined:
     30 
     31 TFT_BLACK       0x0000
     32 TFT_NAVY        0x000F
     33 TFT_DARKGREEN   0x03E0
     34 TFT_DARKCYAN    0x03EF
     35 TFT_MAROON      0x7800
     36 TFT_PURPLE      0x780F
     37 TFT_OLIVE       0x7BE0
     38 TFT_LIGHTGREY   0xC618
     39 TFT_DARKGREY    0x7BEF
     40 TFT_BLUE        0x001F
     41 TFT_GREEN       0x07E0
     42 TFT_CYAN        0x07FF
     43 TFT_RED         0xF800
     44 TFT_MAGENTA     0xF81F
     45 TFT_YELLOW      0xFFE0
     46 TFT_WHITE       0xFFFF
     47 TFT_ORANGE      0xFDA0
     48 TFT_GREENYELLOW 0xB7E0
     49 TFT_PINK        0xFC9F
     50 
     51 
     52 
     53 
     54 
     55 
     56 
     57 
     58 
     59 
     60  
     61  */