JRC 3714 library. serial 2 parallel(24bit).
Diff: IO3714.h
- Revision:
- 0:7d09d9914030
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/IO3714.h Sat Feb 25 18:12:11 2012 +0000 @@ -0,0 +1,18 @@ + +#ifndef MBED_IO3714_H +#define MBED_IO3714_H + +#include "mbed.h" + +class IO3714 { +public: + IO3714(PinName mosi, PinName sclk, PinName clr_n, PinName stb_n); + void write(unsigned int data); +private: + SPI _spi; + DigitalOut _clr_n; + DigitalOut _stb_n; + +}; + +#endif \ No newline at end of file