C++ project

Dependencies:   SeeedGrayOLED mbed

Fork of MBED_CPP_DII4A by Projet C++

Committer:
mr_cub3
Date:
Sat Mar 11 09:51:30 2017 +0000
Revision:
0:cc27e545a4de
Child:
1:e1e7d89e37fe
Child:
4:c2db59ea2838
project

Who changed what in which revision?

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