Fixed an issue with LPC1549 target
Fork of C12832 by
Revision 17:033a554bd03e, committed 2014-04-04
- Comitter:
- MACRUM
- Date:
- Fri Apr 04 08:28:22 2014 +0000
- Parent:
- 16:7de323fa46fe
- Commit message:
- Fixed an issue with LPC1549 target.
Changed in this revision
C12832.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 7de323fa46fe -r 033a554bd03e C12832.cpp --- a/C12832.cpp Wed Feb 05 14:25:16 2014 +0000 +++ b/C12832.cpp Fri Apr 04 08:28:22 2014 +0000 @@ -97,7 +97,11 @@ { _spi.format(8,3); // 8 bit spi mode 3 +#if TARGET_LPC1549 + _spi.frequency(18000000); // 18 Mhz SPI clock +#else _spi.frequency(20000000); // 19,2 Mhz SPI clock +#endif _A0 = 0; _CS = 1; _reset = 0; // display reset