Project to practice collaboration and header files

Dependencies:   mbed

main.cpp

Committer:
burritodude
Date:
2016-01-11
Revision:
3:6e8bf95e144d
Parent:
0:7854ff9b64bf

File content as of revision 3:6e8bf95e144d:

#include "mbed.h"
#include "Host.IO.h"
#include "SegDisplay.h"

char data1, data2;

int main() {
    SegInit();
    HostInit();
    while(1) {
        data2 = GetKeyInput();
        Seg2 = SegConvert(data2);
        data1 = GetKeyInput();
        Seg1 = SegConvert(data1);
        pc.printf(" ");
        
    }
}