HX8347D LCD

Fork of HX8347D by k og

HX8347D.h

Committer:
og
Date:
2016-08-27
Revision:
0:d82fa4a20501
Child:
1:8dfbf62450e6

File content as of revision 0:d82fa4a20501:

/
#ifndef MBED_HX8347D_H
#define MBED_HX8347D_H
// register names from Peter Barrett's Microtouch code
#include "mbed.h"
class HX8347D
{
public:
    HX8347D(
    PinName rd, PinName wr, PinName rs, PinName cs, PinName rst,
    PinName d0, PinName d1, PinName d2, PinName d3,
    PinName d4, PinName d5, PinName d6, PinName d7
    );
    ~HX8347D(){};
    
    
private:
    DigitalOut _cs, _rs, _rst, _wr, rd;
    BusInOut  _d;
};