Cortex-M3/F/W Source
-
[STM32-OAK] LED Test1Cortex-M3/F/W Source 2010. 5. 14. 13:07
LED1 ~ 8 까지 모두 켜졌다가 잠시뒤 홀수번 LED OFF /* * * File Name : main.c * Author : KSS * Data : 2010.05.14 * Note : STM32-OAK Board Led Test * */ #define LED1 0x10 // PORTA.4 #define LED2 0x20 // PORTA.5 #define LED3 0x40 // PORTA.6 #define LED4 0x80 // PORTA.7 #define LED5 0x01 // PORTE.0 #define LED6 0x02 // PORTE.1 #define LED7 0x04 // PORTE.2 #define LED8 0x08 // PORTE.3 static void delay_int_count(vo..