mirror of
https://github.com/YuzuZensai/MCUFRIEND_kbv.git
synced 2026-01-06 04:32:38 +00:00
Xmega does not like RST as identifier
This commit is contained in:
@@ -54,7 +54,7 @@
|
|||||||
#define USING_16BIT_BUS 0
|
#define USING_16BIT_BUS 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MCUFRIEND_kbv::MCUFRIEND_kbv(int CS, int RS, int WR, int RD, int RST):Adafruit_GFX(240, 320)
|
MCUFRIEND_kbv::MCUFRIEND_kbv(int CS, int RS, int WR, int RD, int _RST):Adafruit_GFX(240, 320)
|
||||||
{
|
{
|
||||||
// we can not access GPIO pins until AHB has been enabled.
|
// we can not access GPIO pins until AHB has been enabled.
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ class MCUFRIEND_kbv : public Adafruit_GFX {
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
// MCUFRIEND_kbv(int CS=A3, int RS=A2, int WR=A1, int RD=A0, int RST=A4); //shield wiring
|
// MCUFRIEND_kbv(int CS=A3, int RS=A2, int WR=A1, int RD=A0, int RST=A4); //shield wiring
|
||||||
MCUFRIEND_kbv(int CS=0, int RS=0, int WR=0, int RD=0, int RST=0); //dummy arguments
|
MCUFRIEND_kbv(int CS=0, int RS=0, int WR=0, int RD=0, int _RST=0); //dummy arguments
|
||||||
void reset(void); // you only need the constructor
|
void reset(void); // you only need the constructor
|
||||||
void begin(uint16_t ID = 0x9341); // you only need the constructor
|
void begin(uint16_t ID = 0x9341); // you only need the constructor
|
||||||
virtual void drawPixel(int16_t x, int16_t y, uint16_t color); // and these three
|
virtual void drawPixel(int16_t x, int16_t y, uint16_t color); // and these three
|
||||||
|
|||||||
Reference in New Issue
Block a user