1 /* 2 * Copyright (c) 2006-2018, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2018-11-06 SummerGift first version 9 */ 10 11 #include <rtthread.h> 12 #include <rtdevice.h> 13 #include <board.h> 14 main(void)15int main(void) 16 { 17 int count = 1; 18 while (count++) 19 { 20 // rt_pin_write(LED0_PIN, !rt_pin_read(LED0_PIN)); 21 rt_thread_mdelay(500); 22 } 23 return RT_EOK; 24 } 25