Driver Library for our displays
Dependents: dm_bubbles dm_calc dm_paint dm_sdcard_with_adapter ... more
Revision 12:ef0528e1b5d1, committed 2015-01-22
- Comitter:
- displaymodule
- Date:
- Thu Jan 22 05:49:32 2015 +0000
- Parent:
- 11:264e19992620
- Commit message:
- Reset Max speed for accessing SD Card
Changed in this revision
DmTftRa8875.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/DmTftRa8875.cpp Wed Jan 21 13:56:51 2015 +0000 +++ b/DmTftRa8875.cpp Thu Jan 22 05:49:32 2015 +0000 @@ -212,8 +212,8 @@ sbi(_pinCS, _bitmaskCS); _spi = new SPI((PinName)_mosi, (PinName)_miso, (PinName)_clk); - _spi->format(8,3); - _spi->frequency(2000000); // Max SPI speed for display is 10 and for 17 for LPC15xx + _spi->format(8,0); + _spi->frequency(900000); // Max speed for accessing SD Card softReset(); #endif