Rob Toulson / Mbed 2 deprecated PE_06-05_ModularCodeExample

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SegDisplay.h Source File

SegDisplay.h

00001 /* Program Example 6.7: SegDisplay.h file for modular 7-seg keyboard controller 
00002                                                                  */
00003 #ifndef SEGDISPLAY_H
00004 #define SEGDISPLAY_H
00005 
00006 #include "mbed.h"  
00007                  
00008 extern BusOut Seg1;     // allow Seg1 to be manipulated by other files
00009 extern BusOut Seg2;     // allow Seg2 to be manipulated by other files
00010 
00011 void SegInit(void);                  // function prototype
00012 char SegConvert(char SegValue);      // function prototype
00013 
00014 #endif