Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of RA8875 by
Diff: SPI_TFT.cpp
- Revision:
- 12:9de056a58793
- Parent:
- 11:9bb71766cafc
- Child:
- 17:d7e48335953e
diff -r 9bb71766cafc -r 9de056a58793 SPI_TFT.cpp
--- a/SPI_TFT.cpp Tue Feb 19 21:49:55 2013 +0000
+++ b/SPI_TFT.cpp Tue Mar 05 15:47:00 2013 +0000
@@ -577,7 +577,8 @@
_spi.format(8,3); // 8 bit Mode 3
_spi.write(SPI_START | SPI_WR | SPI_DATA); // Write : RS = 1, RW = 0
_spi.format(16,3); // switch to 16 bit Mode 3
- for (i=0; i<w; i++) {
+ int j;
+ for (j=0; j<w; j++) {
_spi.write(color);
}
#endif
