전체 글 썸네일형 리스트형 STM3210B 보드에 있는 LED 점멸하기(GPIO) /*************************************** STM3210B LED blinky LED : PC6~PC9 Author : 손창한. *****************************************/ #include int main(void) { GPIO_InitTypeDef GPIO_InitStructure; //구조체 변수 선언 RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC, ENABLE); //클럭 연결 GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; //출력설정 GPIO_InitStructure.GPIO_Speed = GPIO_Speed_2MHz; //클럭속도 GPIO_InitStructur.. 더보기 이전 1 ··· 9 10 11 12 13 14 15 ··· 100 다음