test

Committer:
randalthor
Date:
Fri May 19 09:30:31 2017 +0000
Revision:
0:4232849417e1
export to the cli

Who changed what in which revision?

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