decs

Dependencies:   storage_on_flash

Committer:
talhakkas
Date:
Sat May 19 09:48:32 2018 +0000
Revision:
2:eb09ab8cc121
Parent:
1:10322913b00f
1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
talhakkas 0:3fec541a3186 1 #include "mbed.h"
talhakkas 0:3fec541a3186 2
talhakkas 0:3fec541a3186 3 DigitalOut led1(LED1);
talhakkas 0:3fec541a3186 4
talhakkas 0:3fec541a3186 5 // main() runs in its own thread in the OS
talhakkas 0:3fec541a3186 6 int main() {
talhakkas 0:3fec541a3186 7 while (true) {
talhakkas 0:3fec541a3186 8 led1 = !led1;
talhakkas 0:3fec541a3186 9 wait(1);
talhakkas 0:3fec541a3186 10 }
talhakkas 0:3fec541a3186 11 }
talhakkas 0:3fec541a3186 12