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.
Dependencies: SDFileSystem mbed
Revision 1:8c9178c52155, committed 2016-02-14
- 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 |
diff -r 97881c3945b1 -r 8c9178c52155 eink.cpp
--- 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()
diff -r 97881c3945b1 -r 8c9178c52155 main.cpp
--- 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 );