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.
Dependents: Sharp_Memory_LCD_Test hello_GT20L16J1Y_FONT_mlcd
Fork of sharp_mlcd by
Revision 3:d2aed1df064c, committed 2014-09-21
- Comitter:
- ban4jp
- Date:
- Sun Sep 21 08:05:33 2014 +0000
- Parent:
- 2:c36cdd3ad7ba
- Commit message:
- Fix multi connection spi device issue.
Changed in this revision
| sharp_mlcd.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/sharp_mlcd.cpp Fri Sep 12 18:04:58 2014 +0000
+++ b/sharp_mlcd.cpp Sun Sep 21 08:05:33 2014 +0000
@@ -133,6 +133,9 @@
int x, y;
unsigned char *p = (unsigned char*)buffer; // image;
+ //_spi.begin();
+ _spi.write(0); // Dummy (mbed: change SPI owner and SPI format.)
+
_CS = 1;
wait_us(4); // min 3us
//
