Close

Using USB HID Reports to manipulate GPIO pins

A project log for SineStick

What is the opposite of an RTL-SDR? This.

carbonCarbon 01/02/2020 at 00:000 Comments

Over the last several days I've spent some time trying to get a cheap eBay-sourced OLED I2C screen up and running using the SineStick. While I can clearly see it on the I2C bus, I have not been successful getting anything to show on the screen.

However, part of the project was figuring out how to toggle the screen #Reset line using a CP2112 GPIO pin. I suspect this may be a useful trick to others using this the CP2112 (or similar) chips, so I put together an example/proof-of-concept.

In you're interested, check out this projects file section for 'example_SineStick_LEDblink.py'!

Discussions