Skip to content

Commit

Permalink
GC9A01 always use SPI_MODE0
Browse files Browse the repository at this point in the history
  • Loading branch information
moononournation committed Jan 10, 2021
1 parent 3258651 commit cd83823
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/display/Arduino_GC9A01.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "Arduino_GC9A01.h"
#include "SPI.h"

Arduino_GC9A01::Arduino_GC9A01(
Arduino_DataBus *bus, int8_t rst, uint8_t r,
Expand All @@ -10,6 +11,7 @@ Arduino_GC9A01::Arduino_GC9A01(

void Arduino_GC9A01::begin(int32_t speed)
{
_override_datamode = SPI_MODE0; // always use SPI_MODE0
Arduino_TFT::begin(speed);
}

Expand Down

0 comments on commit cd83823

Please sign in to comment.