Riad_ Bajraktarevic
/
Blink
blink blink
Diff: main.cpp
- Revision:
- 0:4daa7414583c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sat Dec 07 14:32:00 2019 +0000 @@ -0,0 +1,16 @@ +#include "mbed.h" + +BusOut led(D2,D3,D6,D9,D11,D12,A6,D13); + +int main() { + while (1) { + led = 85; + wait_ms(500); + led = 170; + wait_ms(500); + +//01010101 170 1 2 4 8 16 32 64 128 +//10101010 85 1 2 4 8 16 32 64 128 + + } +}