Professional Documents
Culture Documents
0 1* 1*
500 1 0*
1000 1 1*
1100 0* 1
1500 0 0*
2000 0 1*
2200 1* 1
2500 1 0*
3000 1 1*
3300 0* 1
3500 0 0*
4000 0 1*
4400 1* 1
4500 1 0*
5000 1 1*
5500 0* 0*
6000 0 1
6500 0 0
6600 1* 0
7000 1 1
7500 1 0
7700 0* 0
8000 0 1
8500 0 0
8800 1* 0
9000 1 1
9500 1 0
9900 0* 0
10000 0 1
10500 0 0
11000 1* 1
/**
* @brief The application entry point.
* @retval int
*/
int main(void)
{
/* USER CODE BEGIN 1 */
/* MCU Configuration--------------------------------------------------------*/
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();
if (count %11 == 0)
{
status_A7 = ! status_A7;
if (status_A7) {
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_7, GPIO_PIN_SET);
}
else {
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_7, GPIO_PIN_RESET);
}
}
count++;
HAL_Delay(100);
}
}