Search found 2 matches

by PicoUser
Mon Apr 04, 2022 4:38 pm
Forum: Raspberry Pi microcontroller boards
Topic: Non-blocking read from serial
Replies: 1
Views: 1630

Non-blocking read from serial

I need a program that listens to serial input from a PC over USB. This listing shouldn't block the continous reading of other sensors because this data is send back over serial to the PC. At the moment, the only way I found to listen to the serial bus is with sys.stdin.readline(), but this is a bloc...
by PicoUser
Tue Jan 25, 2022 1:23 pm
Forum: Raspberry Pi microcontroller boards
Topic: Reading serial data
Replies: 2
Views: 6316

Reading serial data

I've recently started programming the Raspberry Pi Pico in micropython to create a PID controller. This system will be connected to a PC which should be able to set the parameters of the PID system. I've worked with Arduino's before, where I use serial communication to send messages to the Arduino. ...