Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

SDK • Re: Setting SCL,SDA pins for Serial2

$
0
0
Thanks, I was currently doing this which probably making hard work of it.

Code:

void setup_uart(){    stdout_uart_init();     gpio_set_function(4, GPIO_FUNC_UART);      gpio_set_function(5, GPIO_FUNC_UART);     uart_init(uart1, 115200);    uart_puts(uart1, "\nPico debug on uart1\n");}

Statistics: Posted by pie_face — Mon Sep 30, 2024 3:26 am



Viewing all articles
Browse latest Browse all 8013

Trending Articles