test publish

Dependencies:   mbed GroveEarbudSensor

Committer:
antoineA
Date:
Thu Mar 24 14:29:04 2016 +0000
Revision:
1:4249509c28d1
Parent:
0:8bec0f0b673a
Child:
3:b4f04b8b8797
Child:
9:1d5c55b8259f
timer changed to 0.5

Who changed what in which revision?

UserRevisionLine numberNew contents of line
antoineA 0:8bec0f0b673a 1 #include "mbed.h"
antoineA 0:8bec0f0b673a 2
antoineA 0:8bec0f0b673a 3 DigitalOut myled(LED1);
antoineA 0:8bec0f0b673a 4
antoineA 0:8bec0f0b673a 5 int main()
antoineA 0:8bec0f0b673a 6 {
antoineA 0:8bec0f0b673a 7 while(1) {
antoineA 0:8bec0f0b673a 8 myled = 1;
antoineA 1:4249509c28d1 9 wait(0.5);
antoineA 0:8bec0f0b673a 10 myled = 0;
antoineA 1:4249509c28d1 11 wait(0.5);
antoineA 0:8bec0f0b673a 12 }
antoineA 0:8bec0f0b673a 13 }