used the mbed folder from a the frdm_gpio program to get the blinky program to compile

Dependencies:   mbed

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

Committer:
co657_vk96
Date:
Wed Oct 04 21:41:05 2017 +0000
Revision:
48:4c41b44e5759
Parent:
29:0b58d21e87d6
to fix the can not open source file cmsis_os2.h error

Who changed what in which revision?

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