Add temp status LEDs
This commit is contained in:
parent
295afaaf6c
commit
6c7723905c
|
@ -42,10 +42,10 @@ void serial_init(void) {
|
|||
huart2.Init.OverSampling = UART_OVERSAMPLING_16;
|
||||
if (HAL_UART_Init(&huart2) == HAL_OK)
|
||||
{
|
||||
//HAL_GPIO_WritePin(GPIOE, GPIO_PIN_1, GPIO_PIN_RESET);
|
||||
HAL_GPIO_WritePin(GPIOE, GPIO_PIN_1, GPIO_PIN_RESET);
|
||||
}
|
||||
//HAL_UART_Transmit(&huart2, (uint8_t*)"Serial On", 9, 5000);
|
||||
//HAL_GPIO_WritePin(GPIOE, GPIO_PIN_2, GPIO_PIN_RESET);
|
||||
HAL_UART_Transmit(&huart2, (uint8_t*)"Serial On", 9, 5000);
|
||||
HAL_GPIO_WritePin(GPIOE, GPIO_PIN_2, GPIO_PIN_RESET);
|
||||
}
|
||||
|
||||
bool serial_connected(void) {
|
||||
|
|
Loading…
Reference in New Issue