eink paper ED060SC4(LF) にSD内の01.bmpを表示させます

Dependencies:   SDFileSystem mbed

Files at this revision

API Documentation at this revision

Comitter:
kohacraft
Date:
Sun Feb 14 09:02:57 2016 +0000
Parent:
0:97881c3945b1
Commit message:
?????????OFF???

Changed in this revision

eink.cpp Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/eink.cpp	Sun Feb 14 07:48:37 2016 +0000
+++ b/eink.cpp	Sun Feb 14 09:02:57 2016 +0000
@@ -234,6 +234,19 @@
 void powerOff()
 {
     setContBas( EN , 1);
+
+    setCL( 0 );
+    setContBas( LE , 0);
+    setContBas( OE , 0);
+    setContBas( NC10 , 0);
+    setContBas( SPH , 0);
+
+    setContBas( GMODE , 0);
+    setContBas( SPV , 0);
+    setContBas( CKV , 0);
+    
+    setDataBas( 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 );
+    
 }
 
 void powerOn()
--- a/main.cpp	Sun Feb 14 07:48:37 2016 +0000
+++ b/main.cpp	Sun Feb 14 09:02:57 2016 +0000
@@ -24,6 +24,8 @@
     {
         myled = 1;
         clrdisp(1); //白でクリア
+        clrdisp(1); //白でクリア
+        clrdisp(0); //白でクリア
         clrdisp(0); //白でクリア
         
         sprintf( filePath , "/sd/%02d.bmp" , fileNum );