ST7735 library, e.g. for Adafruit 1.8" TFT
Fork of ST7735_TFT by
Fixed a few compiler warning and also some errors that were showing on my STM-F3 device.
Diff: ST7735_TFT.cpp
- Revision:
- 1:967235e6fd48
- Parent:
- 0:246f2fb5be59
- Child:
- 2:264c52bc760c
diff -r 246f2fb5be59 -r 967235e6fd48 ST7735_TFT.cpp --- a/ST7735_TFT.cpp Sun Dec 11 21:05:52 2011 +0000 +++ b/ST7735_TFT.cpp Sun Dec 11 21:18:21 2011 +0000 @@ -176,7 +176,7 @@ // init SPI _spi.format(8,3); // 8 bit spi mode 3 - _spi.frequency(4000000); // 16Mhz SPI clock ... 15Mhz is maximum for display, but it seems to work + _spi.frequency(16000000); // 16Mhz SPI clock ... 15Mhz is maximum for display, but it seems to work // reset exactly like in Arduino version _cs = 0;