![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Is program me ek se jyaada LED control kia apan ne, BusOut use karke
Dependencies: mbed
Diff: main.cpp
- Revision:
- 0:7f0702d1a493
diff -r 000000000000 -r 7f0702d1a493 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Jun 28 08:22:33 2016 +0000 @@ -0,0 +1,18 @@ +#include "mbed.h" + +BusOut led(PTB18, PTB19,PTD1); + +int main() +{ + while(1) + { + led=0x6; + wait(0.5); + led=0x5; + wait(0.5); + led=0x3; + wait(0.5); + led=0x0; + wait(0.5); + } +} \ No newline at end of file