fixed library.

Dependents:   Sharp_Memory_LCD_Test hello_GT20L16J1Y_FONT_mlcd

Fork of sharp_mlcd by Masato YAMANISHI

Files at this revision

API Documentation at this revision

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
diff -r c36cdd3ad7ba -r d2aed1df064c sharp_mlcd.cpp
--- 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
   //