Search found 49 matches

by tannewt
Mon Feb 08, 2021 11:11 pm
Forum: Raspberry Pi microcontroller boards
Topic: HID USB Button box controller?
Replies: 6
Views: 806

Re: HID USB Button box controller?

Yup, we do have HID support. You can get CircuitPython for the Pico here: https://circuitpython.org/board/raspberry_pi_pico/ and the getting started guide is here: https://learn.adafruit.com/getting-started-with-raspberry-pi-pico-circuitpython We don't currently support rotary encoders but it's on o...
by tannewt
Thu Feb 04, 2021 1:38 am
Forum: Raspberry Pi microcontroller boards
Topic: RP2040 Pico and i2c problem
Replies: 8
Views: 1941

Re: RP2040 Pico and i2c problem

Be careful with 5v. The Pico's pins aren't 5v tolerant.
by tannewt
Wed Jan 06, 2021 12:45 am
Forum: Development of MicroPython
Topic: MicroPython and CircuitPython
Replies: 5
Views: 659

Re: MicroPython and CircuitPython

Hi folks, You don't actually need a separate GitHub fork. You can create a pull request to either by changing the comparison root on the comparison screen. There is also a helpful pop up that appears after you push to a branch. So, view `github.com/micropython/micropython` and push to a branch on yo...
by tannewt
Tue Nov 24, 2020 2:13 am
Forum: Other Boards
Topic: Is it possible to execute a micropython code on Rasperry Pi ?
Replies: 11
Views: 2317

Re: Is it possible to execute a micropython code on Rasperry Pi ?

We do hope to merge 1.13 in at some point after the holidays. (We're crunched on the ESP32-S2 at the moment.)

I'd suggest you reach out to WarriorOfWire about it on that PR or an issue. They've done most of the CP work. Thanks!
by tannewt
Tue Nov 17, 2020 12:58 am
Forum: Other Boards
Topic: Is it possible to execute a micropython code on Rasperry Pi ?
Replies: 11
Views: 2317

Re: Is it possible to execute a micropython code on Rasperry Pi ?

CircuitPython runs on Raspberry Pi, via Blinka Seeing recent queries on the Raspberry Pi bulletin board, I'm not convinced this is a great idea. All of Adafruit's device drivers are being moved over to Blinka, so you basically have to install Blinka (and all of its many, many dependencies) in order...
by tannewt
Tue Sep 15, 2020 12:19 am
Forum: General Discussion and Questions
Topic: Advice for handling external memory in C modules
Replies: 8
Views: 1650

Re: Advice for handling external memory in C modules

Many thanks for this, much food for thought. The best thing to do is to allocate the memory on the MicroPython heap with a bytearray object and then pass the bytearray into the object that takes it. That way the memory can be used again if you get more data. Do you mean ask the initial library to w...
by tannewt
Tue Aug 18, 2020 12:31 am
Forum: Development of MicroPython
Topic: Typesheds
Replies: 15
Views: 1668

Re: Typesheds

In CircuitPython we used to convert our RST to pyi but now we have pyi directly. The autoapi extension is useful to generate the docs from the pyi: https://github.com/readthedocs/sphinx-autoapi
by tannewt
Mon Aug 17, 2020 11:32 pm
Forum: General Discussion and Questions
Topic: Advice for handling external memory in C modules
Replies: 8
Views: 1650

Re: Advice for handling external memory in C modules

1) If the Python script doesn't need to access the individual bytes of the data chunk, can I avoid copying the data into and out of MicroPython's heap? Could I maybe package up the data chunk as a "bytes" object while it is outside of MicroPython's heap, or will this cause complications with the ga...
by tannewt
Wed May 27, 2020 12:47 am
Forum: Other Boards
Topic: [WeAct STM32F411CEU6] Avoiding “Volume was not properly unmounted” warnings
Replies: 8
Views: 2343

Re: [WeAct STM32F411CEU6] Avoiding “Volume was not properly unmounted” warnings

Typically the MicroPython or CircuitPython device can't do anything to get the Host OS to flush filesystem changes. It's really up to the user on the host OS to "eject" or "safely remove" the device before resetting.
by tannewt
Wed May 27, 2020 12:43 am
Forum: Development of MicroPython
Topic: Porting micropython to NXP LPC55S69
Replies: 3
Views: 1525

Re: Porting micropython to NXP LPC55S69

Hi Hugo, take a look at the SAMD port PR: https://github.com/micropython/micropyt ... d539a461fd

The LPC55 is supported by TinyUSB just like the SAMD so that side of things should be similar.