Quentin LAM
/
EXG
Exo
Diff: Nboard.h
- Revision:
- 0:3437b8d0cbdf
diff -r 000000000000 -r 3437b8d0cbdf Nboard.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Nboard.h Tue May 29 14:11:36 2018 +0000 @@ -0,0 +1,5 @@ +#include "mbed.h" + +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);