LA: Adding some "Ex" features to DmTftBase
Diff: DmTftIli9341.cpp
- Revision:
- 17:0e2203ae4cec
- Parent:
- 15:a9fb1a45f029
--- 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??