acid-drop- Hacking the planet from a LilyGo T-Deck using custom firmware |
git clone git://git.acid.vegas/acid-drop.git |
Log | Files | Refs | Archive | README | LICENSE |
Arduino_ILI9488_18bit.h (769B)
1 /* 2 * start rewrite from: 3 * https://github.com/adafruit/Adafruit-GFX-Library.git 4 */ 5 #ifndef _ARDUINO_ILI9488_18BIT_H_ 6 #define _ARDUINO_ILI9488_18BIT_H_ 7 8 #include <Arduino.h> 9 #include <Print.h> 10 #include "Arduino_ILI9488.h" 11 #include "../Arduino_TFT_18bit.h" 12 13 class Arduino_ILI9488_18bit : public Arduino_TFT_18bit 14 { 15 public: 16 Arduino_ILI9488_18bit(Arduino_DataBus *bus, int8_t rst = GFX_NOT_DEFINED, uint8_t r = 0, bool ips = false); 17 18 bool begin(int32_t speed = GFX_NOT_DEFINED) override; 19 20 void setRotation(uint8_t r) override; 21 22 void writeAddrWindow(int16_t x, int16_t y, uint16_t w, uint16_t h) override; 23 24 void invertDisplay(bool) override; 25 void displayOn() override; 26 void displayOff() override; 27 28 protected: 29 void tftInit() override; 30 31 private: 32 }; 33 34 #endif