pimoroni / pimoroni-pico

Libraries and examples to support Pimoroni Pico add-ons in C++ and MicroPython.
https://shop.pimoroni.com/collections/pico
MIT License
1.32k stars 496 forks source link

qrcode as .py file from Badger 2040 #300

Closed niko86 closed 2 years ago

niko86 commented 2 years ago

Apologies if this is not the place for such a request.

I am looking to use the qrcode on an inky e-ink display using a pico and the qrcode library works great on my badger. Compiling my own micropython with qrcode in it is way beyond my skills and I can only see a c file of the code in this repository. Is there a python version of the file or is this not possible? Or is there a way to use the uncompiled c code on my pico?

Thanks

Gadgetoid commented 2 years ago

The QRCode library is baked into our custom MicroPython build, grab it here- https://github.com/pimoroni/pimoroni-pico/releases/tag/v1.18.4

Or - direct .uf2 link for a 2MB stock Pico board - https://github.com/pimoroni/pimoroni-pico/releases/download/v1.18.4/pimoroni-pico-v1.18.4-micropython.uf2

niko86 commented 2 years ago

Thank you Gadgetoid I mistakenly thought it was only baked into the Badger 2040 👍