mirror of
https://github.com/joeycastillo/gossamer.git
synced 2025-10-30 03:31:01 +00:00
900 baud
This commit is contained in:
parent
ac3923bce8
commit
56993baf09
@ -16,7 +16,7 @@ void app_setup(void) {
|
||||
HAL_GPIO_IR_ENABLE_clr();
|
||||
HAL_GPIO_IRSENSE_in();
|
||||
HAL_GPIO_IRSENSE_pmuxen(HAL_GPIO_PMUX_SERCOM_ALT);
|
||||
uart_init_instance(0, UART_TXPO_NONE, UART_RXPO_0, 600);
|
||||
uart_init_instance(0, UART_TXPO_NONE, UART_RXPO_0, 900);
|
||||
uart_set_irda_mode_instance(0, true);
|
||||
uart_enable_instance(0);
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@ void app_setup(void) {
|
||||
HAL_GPIO_LED_out();
|
||||
HAL_GPIO_TX_out();
|
||||
HAL_GPIO_TX_pmuxen(HAL_GPIO_PMUX_SERCOM_ALT);
|
||||
uart_init_instance(4, UART_TXPO_0, UART_RXPO_NONE, 600);
|
||||
uart_init_instance(4, UART_TXPO_0, UART_RXPO_NONE, 900);
|
||||
uart_set_irda_mode_instance(4, true);
|
||||
uart_enable_instance(4);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user