Driver Library with inverted screen and increased SPI speed (16MHz). You need to use this library with the sx1280
Dependents: MSNV2-Terminal_V1-6 SX1280DevKit SX126xDevKit SX126xDevKit ... more
Fork of DmTftLibrary by
Revision 17:0e2203ae4cec, committed 2016-11-11
- Comitter:
- GregCr
- Date:
- Fri Nov 11 12:48:02 2016 +0000
- Parent:
- 16:b1105e84eda9
- Commit message:
- typo
Changed in this revision
DmTftIli9341.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r b1105e84eda9 -r 0e2203ae4cec DmTftIli9341.cpp --- a/DmTftIli9341.cpp Thu Oct 13 15:33:49 2016 +0000 +++ b/DmTftIli9341.cpp Fri Nov 11 12:48:02 2016 +0000 @@ -99,7 +99,11 @@ sbi(_pinCS, _bitmaskCS); spi.format(8,0); - spi.frequency(16000000); // Max SPI speed for display is 10 and for 17 for LPC15xx +#if defined( TARGET_NUCLEO_L476RG ) + spi.frequency(16000000); // Max SPI speed for display is 10 and for 17 for LPC15xx +#else + spi.frequency(8000000); +#endif #endif cbi(_pinCS, _bitmaskCS); delay(135); // This much delay needed??