Skip to content

Commit

Permalink
Fix ST7789 init bug
Browse files Browse the repository at this point in the history
  • Loading branch information
PaintYourDragon committed Jan 14, 2019
1 parent 986c590 commit cc9a8e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Adafruit_ST77xx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ void Adafruit_ST77xx::displayInit(const uint8_t *addr) {
while(numArgs--) { // For each argument...
spiWrite(pgm_read_byte(addr++)); // Read, issue argument
}
SPI_CS_HIGH(); SPI_CS_LOW(); // ST7789 needs chip deselect after each

if(ms) {
ms = pgm_read_byte(addr++); // Read post-command delay time (ms)
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Adafruit ST7735 and ST7789 Library
version=1.2.6
version=1.2.7
author=Adafruit
maintainer=Adafruit <[email protected]>
sentence=This is a library for the Adafruit ST7735 and ST7789 SPI displays.
Expand Down

0 comments on commit cc9a8e5

Please sign in to comment.