Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (2)
Realization led blinks of ucosII program based on
4.0
Keil development platform based on stm32 realization led the second flash. Program can run successfully achieve led blinks function.    Part of the program code excerpt:  void LED_GPIO_Config (void)  {    / * Structure to define a GPIO_InitTypeDef type * /     GPIO_InitTypeDef GPIO_InitStructure;     / * Open LED peripheral clocks * /     RCC_APB2PeriphClockCmd (RCC_APB2Periph_GPIOD, ENABLE);     / * Select control GPIOB pin * /  &
大白JULY
2016-08-23
0
1
STM32 ucosII program 4x2 keyboard detection
no vote
Keil development platform based on stm32 board to achieve 4x2 keyboard detection. Program entirely correct function perfectly realized.    Part of the code : void Task1(void *pdata) {   u8 key;   while(1)   {    key=KEY_Scan();    if(key==1)    {      digitalToggle(GPIOD,GPIO_Pin_7);  //D4 light     OSTimeDlyHMSM(0,0,1,0);    }    if(key==2)    {  digitalToggle(GPIOD,GPIO_Pin_6);  //D5  light     OSTimeDlyHMSM(0,0,1,0);
大白JULY
2016-08-23
0
1
No more~