diff options
-rw-r--r-- | glcddrivers/ili9341.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/glcddrivers/ili9341.c b/glcddrivers/ili9341.c index bbea783..1fd2565 100644 --- a/glcddrivers/ili9341.c +++ b/glcddrivers/ili9341.c @@ -30,8 +30,8 @@ const int kLcdHeight = 240; const int kSpiBus = 0; -const int kGpioReset = 4; -const int kGpioDC = 5; +const int kGpioReset = 23; +const int kGpioDC = 24; const uint8_t kCmdNop = 0x00; const uint8_t kCmdSleepOut = 0x11; @@ -67,7 +67,7 @@ cDriverILI9341::cDriverILI9341(cDriverConfig * config) { refreshCounter = 0; - wiringPiSetup(); + wiringPiSetupGpio(); } cDriverILI9341::~cDriverILI9341() |