Skip to content

Commit

Permalink
feat:define default uart instance and baudrate
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahbagyapan committed Apr 19, 2024
1 parent c90aba4 commit 7f1fec7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions uart/uart.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@


#include "stdint.h"
#include "pico/stdlib.h"


/*================================== Defined Variables ==================================*/


#define UART_DEFAULT_INSTANCE uart0
#define UART_BAUDRATE 115200


/*================================== Functions ==================================*/
Expand Down

0 comments on commit 7f1fec7

Please sign in to comment.