skinny.

Latest / Adafruit Industries

Writing an Arduino driver with OpenAI ChatGPT and PDF parsing 🤖🔧📄

One of the big tasks that Ladyada still has to spend a lot of time on is writing Arduino libraries for all our devices and sensors, particularly all the I2C & SPI chips out there! These ICs use register maps and sub-byte addressing to set dozens of configurable knobs and switches, and a good driver lets folks set and get all of the noodly bits. However, there is yet to be a standard format to get that configuration map. Instead, you have to pore over datasheets with long lists of binary tables and bit insets to figure out how to convert that into C or Python code. It is tough. Only a few…

The skinny

The skinny isn't ready yet — notes appear once the transcript is processed.