Exo

Dependencies:   IHM_V2 mbed

Committer:
Quent1nl
Date:
Tue May 29 14:16:00 2018 +0000
Revision:
0:423cc5f68c56
EX26

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Quent1nl 0:423cc5f68c56 1 #include "mbed.h"
Quent1nl 0:423cc5f68c56 2 #include "IHM.h"
Quent1nl 0:423cc5f68c56 3 #define Ana0 000
Quent1nl 0:423cc5f68c56 4 #define Ana1 001
Quent1nl 0:423cc5f68c56 5 #define Ana2 010
Quent1nl 0:423cc5f68c56 6 #define Ana3 011
Quent1nl 0:423cc5f68c56 7 #define Ana4 100
Quent1nl 0:423cc5f68c56 8 #define Ana5 101
Quent1nl 0:423cc5f68c56 9 #define AnIn 110
Quent1nl 0:423cc5f68c56 10 #define Ana7 111
Quent1nl 0:423cc5f68c56 11
Quent1nl 0:423cc5f68c56 12 DigitalOut led0(PB_3), led1(PA_7),led2(PA_6),led3(PA_5);
Quent1nl 0:423cc5f68c56 13 DigitalIn bp(PA_9, PullUp),bou1(PA_10,PullUp),bou2(PB_0,PullUp),bou3(PB_7,PullUp);
Quent1nl 0:423cc5f68c56 14 BusOut Bus8Leds(PB_3,PA_7,PA_6,PA_5,PA_3,PA_1,PA_0,PA_2);
Quent1nl 0:423cc5f68c56 15 BusOut BusSelMux(PF_0,PF_1,PA_8);
Quent1nl 0:423cc5f68c56 16 AnalogIn AnaIn(PB_1);