E-Paper Device (EPD) based MiniNote module, powered by mbed on LPC1114FBD48. Shared in public domain with enclosure in 3D step format, hardware interface compatible with microBUS interface. Anyone can contribute on this project.

Dependencies:   mbed _24LCXXX

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Ebadge.h Source File

Ebadge.h

00001 
00002 #include "mbed.h"
00003 
00004 class Ebadge {
00005     public:
00006         Ebadge(PinName rxd, PinName txd, PinName isp);
00007         void reset();
00008         bool flash();
00009         void terminal_Baud(int baudrate = 115200);
00010         void terminal();
00011         bool isIspPressed();
00012         void download();
00013         void upload();
00014         void save();
00015         void read();
00016         void paint();
00017         void clean();
00018         void empty();
00019         void toggle();
00020         void check();
00021         void overwrite();
00022     
00023     private:
00024         bool _cmd(const char* format);
00025         bool _cpRam2Disp();
00026     protected:
00027         Serial _uart;
00028         PinName _isp;
00029 };