kevin tseng / Mbed OS EinkShield_HelloWorld_ARM_KL25Z

Dependencies:   libEinkShield_mbedcli_ARM_KL25Z

Fork of EInkShield_HelloWorld by E Ink

Files at this revision

API Documentation at this revision

Comitter:
jauming
Date:
Thu Jul 26 08:05:30 2018 +0000
Parent:
1:9b126a535f52
Child:
3:6c5c029a7812
Commit message:
sample code update

Changed in this revision

EinkShield_wchar2_cortex-m0plus.lib 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/EinkShield_wchar2_cortex-m0plus.lib	Tue Jul 24 03:00:34 2018 +0000
+++ b/EinkShield_wchar2_cortex-m0plus.lib	Thu Jul 26 08:05:30 2018 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/jauming/code/EinkShield_wchar2_cortex-m0plus/#bdd5d8b11e0d
+https://os.mbed.com/teams/E-Ink/code/EinkShield_arm_cortex-m0plus/#07a977f59b0d
--- a/main.cpp	Tue Jul 24 03:00:34 2018 +0000
+++ b/main.cpp	Thu Jul 26 08:05:30 2018 +0000
@@ -1,7 +1,8 @@
 #include "mbed.h"
 #include "EinkShield.h"
 #include "image.h"
-int main() {        
+int main() {      
+ 
     EinkShield epd(EL029TR1,
                   D7,
                   D6,
@@ -17,6 +18,7 @@
     //wait_ms(2000); 
     
     while(1) {  
+     
         epd.EPD_Display_KWR(sale2_KW, sale2_R);
         wait_ms(2000); 
     }