Search found 5 matches
- Thu Feb 18, 2021 1:18 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Halting on empty uart buffer
- Replies: 3
- Views: 2769
Re: Halting on empty uart buffer
Thanks Dave, it worked fine. from machine import UART import time u0 = UART(0, baudrate=115200, bits=8, parity=None, stop=1) u1 = UART(1, baudrate=115200, bits=8, parity=None, stop=1) while True: x = "" while u0.any(): z = u0.read(1).decode() x = x + z y = "" while u1.any(): z = u1.read(1).decode() ...
- Tue Feb 16, 2021 10:00 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Halting on empty uart buffer
- Replies: 3
- Views: 2769
Halting on empty uart buffer
I have been considering switching from PyBoard to Raspberry Pi Pico and I thought I should do some tests. But I almost instantly ran into a problem that I cant solve. I am reading from two serial ports and combine the two data streams into a third, so I want to read the two uarts on the Pico. The pr...
- Wed Jan 06, 2021 1:46 pm
- Forum: MicroPython pyboard
- Topic: External power
- Replies: 3
- Views: 2143
- Wed Jan 06, 2021 11:42 am
- Forum: MicroPython pyboard
- Topic: External power
- Replies: 3
- Views: 2143
Re: External power
I see. I have the PyBoard 1.0 Lite and I used was 3v3 as input.
I´ll have try at feeding it with 3 volt on the Vin.
Brb.
I´ll have try at feeding it with 3 volt on the Vin.
Brb.
- Tue Jan 05, 2021 12:33 pm
- Forum: MicroPython pyboard
- Topic: External power
- Replies: 3
- Views: 2143
External power
I´m currently working on a project where I connect a PyBoard to a GPS-device (FLARM Red Box) which has a 3 volt power output. As I want to simplify I came up with the idea to feed the PyBoard from the GPS. When consulting the manuals I could not find anything that said this was a bad idea. Upon tryi...