Rob Moran
/
mbed_blinky2
j
main.cpp@1:ee590bca6033, 2019-01-31 (annotated)
- Committer:
- thegecko
- Date:
- Thu Jan 31 18:54:38 2019 +0000
- Revision:
- 1:ee590bca6033
- Parent:
- 0:62a2e657a8b2
asd
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
thegecko | 0:62a2e657a8b2 | 1 | #include "mbed.h" |
thegecko | 0:62a2e657a8b2 | 2 | |
thegecko | 0:62a2e657a8b2 | 3 | DigitalOut myled(LED1); |
thegecko | 0:62a2e657a8b2 | 4 | |
thegecko | 0:62a2e657a8b2 | 5 | int main() { |
thegecko | 0:62a2e657a8b2 | 6 | |
thegecko | 0:62a2e657a8b2 | 7 | while(1) { |
thegecko | 0:62a2e657a8b2 | 8 | myled = 1; |
thegecko | 1:ee590bca6033 | 9 | sadsd |
thegecko | 0:62a2e657a8b2 | 10 | wait(0.2); |
thegecko | 0:62a2e657a8b2 | 11 | myled = 0; |
thegecko | 0:62a2e657a8b2 | 12 | wait(0.2); |
thegecko | 0:62a2e657a8b2 | 13 | } |
thegecko | 0:62a2e657a8b2 | 14 | } |