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

E-Badge MiniNote Project on mbed/NXP LPC1114 platform

Ebadge.h

Committer:
allankliu
Date:
2014-06-11
Revision:
4:5032c106eea1
Parent:
2:bb9f154ea2f4

File content as of revision 4:5032c106eea1:


#include "mbed.h"

class Ebadge {
    public:
        Ebadge(PinName rxd, PinName txd, PinName isp);
        void reset();
        bool flash();
        void terminal_Baud(int baudrate = 115200);
        void terminal();
        bool isIspPressed();
        void download();
        void upload();
        void save();
        void read();
        void paint();
        void clean();
        void empty();
        void toggle();
        void check();
        void overwrite();
    
    private:
        bool _cmd(const char* format);
        bool _cpRam2Disp();
    protected:
        Serial _uart;
        PinName _isp;
};