fixed library.
Dependents: Sharp_Memory_LCD_Test hello_GT20L16J1Y_FONT_mlcd
Fork of sharp_mlcd by
Diff: sharp_mlcd.cpp
- Revision:
- 3:d2aed1df064c
- Parent:
- 2:c36cdd3ad7ba
--- 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 //