Search found 3 matches

by ssfel
Thu Apr 08, 2021 1:57 pm
Forum: Raspberry Pi microcontroller boards
Topic: machine.UART how to skip read?
Replies: 2
Views: 2372

machine.UART how to skip read?

from machine import Pin, UART uart = UART(1,115200) ch = uart.read(1) print("the code never reaches here without an input") When I run the following code the the program runs until "uart.read(1)" and then stops and waits until it reads something. I don't want this to be the case, I want to make it ...
by ssfel
Mon Mar 08, 2021 10:25 am
Forum: Raspberry Pi microcontroller boards
Topic: main.py isn't running when Pico connected to external power
Replies: 8
Views: 19561

Re: main.py isn't running when Pico connected to external power

Roberthh wrote:
Wed Mar 03, 2021 8:58 pm
Since you are using Thonny: Are you sure that you really copied the main.py file to the board? Just running the files with Thonny dos nto copy it permanently to the boards file system.
At the moment I'm doing;
Save As --> Raspberry Pi Pico --> "main.py", save

Is that correct?
by ssfel
Wed Mar 03, 2021 4:03 pm
Forum: Raspberry Pi microcontroller boards
Topic: main.py isn't running when Pico connected to external power
Replies: 8
Views: 19561

main.py isn't running when Pico connected to external power

I think I'm missing a step somewhere. Can't get Pico to run when it isn't being powered by the micro-USB. Have a main.py to blink the on board LED. Trying to power it by connected 5 VDC to VSYS. I'm using Thonny with the Micropython interpreter to save the program onto the Pico. Program just doesn't...