![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Exo
main.cpp
- Committer:
- Quent1nl
- Date:
- 2018-05-29
- Revision:
- 0:3437b8d0cbdf
File content as of revision 0:3437b8d0cbdf:
#include "Nboard.h" DigitalOut myled(LED1); int main() { while(1) { if (bp==0) { Bus8Leds = 0xff; } else if(bou1==0 && bou2==0) { Bus8Leds =0x80; } else if (bou1==0 && bou2==1) { Bus8Leds = 0x02; } else if (bou2==0 || bou3==0) { Bus8Leds=0x0c; } else Bus8Leds = 0x00; } }