EInkShield_HelloWorld

Dependencies:   libEinkShield_mbedcli_ARM_KL25Z

Fork of EInkShield_HelloWorld by E Ink

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 #include "EinkShield.h"
00003 #include "image.h"
00004 int main() {      
00005  
00006     EinkShield epd(EL029TR1,
00007                   D7,
00008                   D6,
00009                   D5,
00010                   D10,
00011                   D2,
00012                   D13,
00013                   D11);
00014         
00015     epd.EPD_Init();
00016        
00017     while(1) {  
00018      
00019         epd.EPD_Display_KWR(sales3_128x296_KW, sales3_128x296_R);       
00020         wait_ms(2000);  
00021            
00022     }
00023 }