![]() When you use the ‘printf’ function to print data, the default serial port is UART and in that UART0 peripheral is used. Raspberry Pi Pico has two UART peripherals: UART0 and UART1. The serial input and output of Raspberry Pi Pico can be either UART or USB CDC. ![]() The beautiful thing about the Raspberry Pi Pico Serial C SDK is that it defines the ‘stdio’ style functions like ‘printf’ for us to use.īefore proceeding with programming Raspberry Pi Pico Serial Port, we have to understand a little bit about Raspberry Pi Pico’s Serial input and output. The important point here is not the text that is printed through the serial port but the process involved for Raspberry Pi Pico to transfer data to the serial port. A Brief Note on Serial Port of Raspberry Pi PicoĪ Brief Note on Serial Port of Raspberry Pi PicoĪfter Blinking an LED using Raspberry Pi Pico, the next logical step is to use the serial port and print some text like Hello World, for example.
0 Comments
Leave a Reply. |