Latest

Dependencies:   serial_terminal sample_hardware PLL_Config SDCard BMP280 Networkbits TextLCD SDBlockDevice

Committer:
Swabey89
Date:
Sun Nov 04 21:56:56 2018 +0000
Revision:
0:4afd4940a189
Child:
1:31c7b4ab552b
test

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Swabey89 0:4afd4940a189 1 #include "mbed.h"
Swabey89 0:4afd4940a189 2
Swabey89 0:4afd4940a189 3 DigitalOut myled(LED1);
Swabey89 0:4afd4940a189 4
Swabey89 0:4afd4940a189 5 int main() {
Swabey89 0:4afd4940a189 6 while(1) {
Swabey89 0:4afd4940a189 7 myled = 1; // LED is ON
Swabey89 0:4afd4940a189 8 wait(0.2); // 200 ms
Swabey89 0:4afd4940a189 9 myled = 0; // LED is OFF
Swabey89 0:4afd4940a189 10 wait(1.0); // 1 sec
Swabey89 0:4afd4940a189 11 }
Swabey89 0:4afd4940a189 12 }