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

SDK • Re: Setting SCL,SDA pins for Serial2

$
0
0
These are completely different pin settings and protocols.
Yes, I realise that. The initial question was about how to set SCL and SDA in the sdk, arg001 has answered that.

I'm capturing data from a I2C device and have moved debugging messages, normally sent to USB cable in IDE, to UART1. The aim is to reduce the USB link to just 5V supply and UF2 target for progamming pico.

To answer my own question: to catch the UART0 messages, I think I need to move my debugging output to that device, so it will catch both.So, I
recommend jumping into tweaking the examples if you want to learn the SDK.
Thanks. I've spend the day doing just that and it looks like another mountain to climb. I have a fairly large body of code which is 98% working and I wanted to port it in small testable steps, not throw it all to the wind and start again from the ground up. :(

Statistics: Posted by pie_face — Tue Sep 24, 2024 10:03 pm



Viewing all articles
Browse latest Browse all 5127

Trending Articles