전체 글 썸네일형 리스트형 STM3210E보드에 있는 LED점멸하기(GPIO) /*************************************** STM3210E LED blinky LED : PF6~PF9 *****************************************/ #include int main(void) { GPIO_InitTypeDef GPIO_InitStructure; //구조체 변수 선언 RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOF, ENABLE); //클럭 연결 GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; //출력설정 GPIO_InitStructure.GPIO_Speed = GPIO_Speed_2MHz; //클럭속도 GPIO_InitStructure.GPIO_Pin = G.. 더보기 이전 1 ··· 17 18 19 20 21 22 23 ··· 100 다음