Adafruit Industries
Testing out CircuitPython library support for U2IF on Pico

Testing out CircuitPython library support for U2IF on Pico

Adafruit Industries

1:00

About this episode

Adafruiter Carter recently did a PR for adding Blinka support to the U2IF for RP2040 project.

According to the developer, "u2if (USB to interfaces) is an attempt to implement some of the MicroPython "machine" module functionalities on a computer. The goal is to be able to communicate with breakout boards (sensors, lcd...) simply from a python program on x86 machine. It uses a Raspberry PICO microcontroller to make the interface between the computer (USB) and peripherals/protocols."

Hey that sounds a lot like Blinka, our compatibility layer for adding CircuitPython library support to CPython. With some quick coding, Carter pulled together some code to test it out! and here we're testing ADC (potentiometer input), PWM (LED output), I2C (VL53L0X) and SPI (DotStar LEDs). Of course everyday GPIO also works so you can control relays and buttons. What a great use of a $4 microcontroller, now programmable with CPython to control all sorts of hardware thanks to Blinka and our 300 CircuitPython libraries. Check out the PR here https://github.com/adafruit/Adafruit_Blinka/pull/449

#adafruit #rp2040 #raspberrypi

Visit the Adafruit shop online - http://www.adafruit.com

LIVE CHAT IS HERE! http://adafru.it/discord

Adafruit on Instagram: https://www.instagram.com/adafruit

Subscribe to Adafruit on YouTube: http://adafru.it/subscribe

New tutorials on the Adafruit Learning System: http://learn.adafruit.com/

More from Adafruit Industries

#newproducts JP’s Product Pick of the Week 11/24/26 LTC4316 I2C Address Translator https://www.adafruit.com/product/5914 Deep discount during livestream Visit the Adafruit shop online - http://www.ada…

21m

Visit the Adafruit shop online - http://www.adafruit.com ----------------------------------------- LIVE CHAT IS HERE! http://adafru.it/discord Subscribe to Adafruit on YouTube: http://adafru.it/subscr…

1m

Notes document is available here, with timecodes: https://github.com/adafruit/adafruit-circuitpython-weekly-meeting/blob/main/2026/2026-11-23.md Join here for the chat all week: http://adafru.it/disco…

36m

Learn how to send I2S audio over the LT8912B DSI to DVI converter here: https://learn.adafruit.com/adafruit-lt8912b-dsi-to-dvi-converter/i2s-audio Visit the Adafruit shop online - http://www.adafruit.…

0m