Search found 2 matches
- Thu Apr 21, 2022 2:39 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Sending serial commands from python
- Replies: 2
- Views: 5298
Re: Sending serial commands from python
Thanks, the \r termination was exactly what I was looking for
- Thu Apr 21, 2022 11:20 am
- Forum: Raspberry Pi microcontroller boards
- Topic: Sending serial commands from python
- Replies: 2
- Views: 5298
Sending serial commands from python
Hi, I'm new to micropython (and loving it so far), so maybe this is an easy to solve problem, but I've been stuck for a while. Let's say the following code is uploaded to the main.py file on the microcontroller: from machine import Pin led = Pin(25, Pin.OUT) I want to then run python code on a lapto...