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_ILI9486_18bit.h (766B)

      1 /*
      2  * start rewrite from:
      3  * https://github.com/adafruit/Adafruit-GFX-Library.git
      4  */
      5 #ifndef _ARDUINO_ILI9486_18BIT_H_
      6 #define _ARDUINO_ILI9486_18BIT_H_
      7 
      8 #include <Arduino.h>
      9 #include <Print.h>
     10 #include "Arduino_ILI9486.h"
     11 #include "../Arduino_TFT_18bit.h"
     12 
     13 class Arduino_ILI9486_18bit : public Arduino_TFT_18bit
     14 {
     15 public:
     16   Arduino_ILI9486_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   void writeAddrWindow(int16_t x, int16_t y, uint16_t w, uint16_t h) override;
     20   void setRotation(uint8_t r) override;
     21   void invertDisplay(bool) override;
     22   void displayOn() override;
     23   void displayOff() override;
     24 
     25 protected:
     26   void tftInit() override;
     27 
     28 private:
     29 };
     30 
     31 #endif