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: libEinkShield_mbedcli_ARM_KL25Z
Fork of EInkShield_HelloWorld by
Revision 2:84384f56bf3b, committed 2018-07-26
- 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);
}
