Search found 9 matches
- Tue Mar 23, 2021 5:18 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Receiver and "blaster" for IR remote controls
- Replies: 3
- Views: 7185
Re: Receiver and "blaster" for IR remote controls
Ok, I've worked it out, it was the "Files View" in Thonny that I was missing. Once that is visible you can right click on a local folder (on your PC) and select "Upload to /"" to copy all the library files in a folder to the Pico. I got it working nicely now. I documented the codes produced by a cou...
- Tue Mar 23, 2021 2:07 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Receiver and "blaster" for IR remote controls
- Replies: 3
- Views: 7185
Re: Receiver and "blaster" for IR remote controls
Hi Peter, I have my TSOP4838 and am trying to test with your library. I'm using Thonny from my main development PC (Windows). I'm trying to run test.py in the ir_rx folder but keep getting an error:- Traceback (most recent call last): File "<stdin>", line 13, in <module> ImportError: no module named...
- Mon Mar 22, 2021 5:46 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Receiver and "blaster" for IR remote controls
- Replies: 3
- Views: 7185
Re: Receiver and "blaster" for IR remote controls
Great news. I've ordered some Vishay TSOP4838's from RS and will give it a go when they arrive tomorrow. I'll let you know how I get on. Thanks.
- Mon Feb 15, 2021 8:23 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: HID USB Button box controller?
- Replies: 8
- Views: 9720
Re: HID USB Button box controller?
Anyone have any idea when USB_HID will be added for the Pico?
- Tue Feb 09, 2021 9:20 am
- Forum: Raspberry Pi microcontroller boards
- Topic: crash core 1
- Replies: 0
- Views: 2982
crash core 1
Here is my code that demonstrates the core 1 crashing problem. It's connected to a WS2812 LED strip. Enter R,G,B for a static colour or S to animate the colours running from core 1. With line 109 (pixels_set(i, rgb)) commented out it works without any problem. When line 109 is not commented out it c...
- Mon Feb 08, 2021 5:11 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: start_new_thread
- Replies: 3
- Views: 4904
Re: start_new_thread
Thanks for the single element tuple syntax. That was one combination I didn't try.
I'm not having much luck trying to stop code running on the second core. Do I call the _thread.exit() from the main core or from the background running function?
Are you able to give a short example (on a Pico).
I'm not having much luck trying to stop code running on the second core. Do I call the _thread.exit() from the main core or from the background running function?
Are you able to give a short example (on a Pico).
- Mon Feb 08, 2021 3:11 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: start_new_thread
- Replies: 3
- Views: 4904
start_new_thread
I'm struggling to get code running on the second core. A couple of questions: 1) How do you stop the code running once it's started with start_new_thread? Is it enough to break out of the function? When I do this I can't seem to use start_new_thread a second time. 2) Am I right to assume that you ca...
- Wed Feb 03, 2021 9:45 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: micropip returned with error code 1
- Replies: 4
- Views: 5742
Re: micropip returned with error code 1
Ok, thanks. I thought is might be something like that. I was assuming any Python package would work and feared I was doing something stupid. Thanks for your guidance! ps I notice you are connected with Thonny. Teaching my son, and myself, to use MicroPython (with Thonny) over the last few days. It'd...
- Wed Feb 03, 2021 5:57 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: micropip returned with error code 1
- Replies: 4
- Views: 5742
micropip returned with error code 1
I'm new to MicroPython. I'm playing with a Raspberry Pi Pico microcontroller. I'm using Thonny V3.3.3 on a PC to write my code. I'm trying to import "easing-functions" V1.0.4 using Thonny's Manage Packages. I'm getting an error :- Installing to temp directory Error installing 'easing-functions': , p...