![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Exo
Diff: Nboard.h
- Revision:
- 0:423cc5f68c56
diff -r 000000000000 -r 423cc5f68c56 Nboard.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Nboard.h Tue May 29 14:16:00 2018 +0000 @@ -0,0 +1,16 @@ +#include "mbed.h" +#include "IHM.h" +#define Ana0 000 +#define Ana1 001 +#define Ana2 010 +#define Ana3 011 +#define Ana4 100 +#define Ana5 101 +#define AnIn 110 +#define Ana7 111 + +DigitalOut led0(PB_3), led1(PA_7),led2(PA_6),led3(PA_5); +DigitalIn bp(PA_9, PullUp),bou1(PA_10,PullUp),bou2(PB_0,PullUp),bou3(PB_7,PullUp); +BusOut Bus8Leds(PB_3,PA_7,PA_6,PA_5,PA_3,PA_1,PA_0,PA_2); +BusOut BusSelMux(PF_0,PF_1,PA_8); +AnalogIn AnaIn(PB_1);