HW6 for OCE560

Dependencies:   mbed

Fork of shomberg_hw_5 by Russell Shomberg

SegDisplay.h

Committer:
rshomberg
Date:
2018-10-25
Revision:
12:ea407dcaff78
Parent:
11:42914083ac70
Child:
13:fa74bf0c3b8d

File content as of revision 12:ea407dcaff78:

#ifndef SEGDISPLAY_H
#define SEGDISPLAY_H

#include "mbed.h"

// INPUTS
BusOut Seg1(p12,p13,p14,p15,p16,p17,p18,p19); //01 02 03 04 05 06 07 08 09 10
BusOut Seg2(p21,p22,p23,p24,p25,p26,p27,p28); //E  D  CC C  DP B  A  CC F  G

char SegConvert(int SegValue);

void SegWrite(float val);

#endif