JRC 3714 library. serial 2 parallel(24bit).

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers IO3714.h Source File

IO3714.h

00001 
00002 #ifndef MBED_IO3714_H
00003 #define MBED_IO3714_H
00004 
00005 #include "mbed.h"
00006 
00007 class IO3714 {
00008 public:
00009     IO3714(PinName mosi, PinName sclk, PinName clr_n, PinName stb_n);
00010     void write(unsigned int data);
00011 private:
00012     SPI _spi;
00013     DigitalOut _clr_n;
00014     DigitalOut _stb_n;
00015 
00016 };
00017 
00018 #endif