EPISODE · Oct 8, 2024 · 7 MIN
Ladyada tries out ChatGPT Canvas for Arduino library writing: A request- tabs & context, please!
from Adafruit Industries · host Adafruit Industries
We sat down this morning to try and crank out a library for the VCNL4200 light/proximity sensor (https://www.digikey.com/en/products/detail/vishay-semiconductor-opto-division/VCNL4200/7394601) - these sorts of chips always have a trillion twiddly registers and are a bear to write. Phil recommended that Limor try out OpenAI's new ChatGPT Canvas (https://openai.com/index/introducing-canvas/). It's fast! And has very few errors. We like to go through each register one by one, add the typedefs and #defines, then the setter/getter functions, and finally the arduino ino 'sketch' to actually test and verify. However, with three files - header, cpp, and ino - canvas can get really confused about which file we're editing and what it's called. Our request! We would love it if there were tabs for 'fixed' file names, and then clicking on the tab set the context for the code we're collaborating on. 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/subscribe New tutorials on the Adafruit Learning System: http://learn.adafruit.com/ ----------------------------------------- #openai #chatgpt #canvas
What this episode covers
We sat down this morning to try and crank out a library for the VCNL4200 light/proximity sensor (https://www.digikey.com/en/products/detail/vishay-semiconductor-opto-division/VCNL4200/7394601) - these sorts of chips always have a trillion twiddly registers and are a bear to write. Phil recommended that Limor try out OpenAI's new ChatGPT Canvas (https://openai.com/index/introducing-canvas/). It's fast! And has very few errors. We like to go through each register one by one, add the typedefs and #defines, then the setter/getter functions, and finally the arduino ino 'sketch' to actually test and verify. However, with three files - header, cpp, and ino - canvas can get really confused about which file we're editing and what it's called. Our request! We would love it if there were tabs for 'fixed' file names, and then clicking on the tab set the context for the code we're collaborating on. 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/subscribe New tutorials on the Adafruit Learning System: http://learn.adafruit.com/ ----------------------------------------- #openai #chatgpt #canvas
NOW PLAYING
Ladyada tries out ChatGPT Canvas for Arduino library writing: A request- tabs & context, please!
No transcript for this episode yet
Similar Episodes
Apr 21, 2026 ·73m
Apr 18, 2026 ·14m
Apr 18, 2026 ·95m
Apr 15, 2026 ·55m
Apr 13, 2026 ·68m
Apr 11, 2026 ·59m