HW6 for OCE560

Dependencies:   mbed

Fork of shomberg_hw_5 by Russell Shomberg

Committer:
rshomberg
Date:
Tue Oct 30 14:08:40 2018 +0000
Revision:
14:b3c87a7c7689
Parent:
13:fa74bf0c3b8d
working code

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rshomberg 9:da0b72918880 1 #ifndef SEGDISPLAY_H
rshomberg 9:da0b72918880 2 #define SEGDISPLAY_H
rshomberg 9:da0b72918880 3
rshomberg 9:da0b72918880 4 #include "mbed.h"
rshomberg 9:da0b72918880 5
rshomberg 9:da0b72918880 6 // INPUTS
rshomberg 13:fa74bf0c3b8d 7 // Initialized in cpp file
rshomberg 13:fa74bf0c3b8d 8 //BusOut Seg1(p12,p13,p14,p15,p16,p17,p18,p19); //01 02 03 04 05 06 07 08 09 10
rshomberg 13:fa74bf0c3b8d 9 //BusOut Seg2(p21,p22,p23,p24,p25,p26,p27,p28); //E D CC C DP B A CC F G
rshomberg 13:fa74bf0c3b8d 10
rshomberg 13:fa74bf0c3b8d 11 //int ones; // ones digit of output
rshomberg 13:fa74bf0c3b8d 12 //int tens; // tens digit of output
rshomberg 9:da0b72918880 13
rshomberg 9:da0b72918880 14 char SegConvert(int SegValue);
rshomberg 9:da0b72918880 15
rshomberg 12:ea407dcaff78 16 void SegWrite(float val);
rshomberg 12:ea407dcaff78 17
rshomberg 9:da0b72918880 18 #endif