it is test project using DISCO-F469NI target board

Dependencies:   BSP_DISCO_F469NI LCD_DISCO_F469NI USBHOST

Committer:
jeonbc
Date:
Mon Aug 07 09:56:37 2017 +0000
Revision:
0:53746acfed69
Child:
2:1fb6f946b69b
initial project

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jeonbc 0:53746acfed69 1 #include "mbed.h"
jeonbc 0:53746acfed69 2
jeonbc 0:53746acfed69 3 DigitalOut led_green(LED1);
jeonbc 0:53746acfed69 4 DigitalOut led_orange(LED2);
jeonbc 0:53746acfed69 5 DigitalOut led_red(LED3);
jeonbc 0:53746acfed69 6 DigitalOut led_blue(LED4);
jeonbc 0:53746acfed69 7
jeonbc 0:53746acfed69 8 int main() {
jeonbc 0:53746acfed69 9 while(1) {
jeonbc 0:53746acfed69 10 // WARNING: LEDs are OFF
jeonbc 0:53746acfed69 11 led_green = 1;
jeonbc 0:53746acfed69 12 led_orange = 1;
jeonbc 0:53746acfed69 13 led_red = 1;
jeonbc 0:53746acfed69 14 led_blue = 1;
jeonbc 0:53746acfed69 15 wait(0.2); // 200 ms
jeonbc 0:53746acfed69 16 // WARNING: LEDs are ON
jeonbc 0:53746acfed69 17 led_green = 0;
jeonbc 0:53746acfed69 18 led_orange = 0;
jeonbc 0:53746acfed69 19 led_red = 0;
jeonbc 0:53746acfed69 20 led_blue = 0;
jeonbc 0:53746acfed69 21 wait(1.0); // 1 sec
jeonbc 0:53746acfed69 22 }
jeonbc 0:53746acfed69 23 }