JianYangs jian / lb_display
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers lb.h Source File

lb.h

00001 #ifndef _lb_H_
00002 #define _lb_H_
00003 #include "mbed.h"
00004 
00005 class lbDispaly {
00006 public:
00007     //ds for date to 595, shcp date input clock,stcp date outclock
00008     void lb_init(PinName ds, PinName shcp, PinName stcp); 
00009     // send date to 595 for display,
00010     void lb_display(int date, char bit );
00011     //enable for display; OE enale when it's low
00012     void lb_enable(PinName OE); 
00013 };
00014 
00015 
00016 
00017 
00018 #endif