mbed Starter Kit / mbed Starter Kit Demo Programs
Committer:
ShawnHymel
Date:
Mon Jul 28 20:29:28 2014 +0000
Revision:
0:6a73d3dc037e
Added main.cpp files from each of the demo programs. Libraries are not included.

Who changed what in which revision?

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