PLAY PODCASTS
Ladyada tries out ChatGPT Canvas for Arduino library writing: A request- tabs & context, please!

Ladyada tries out ChatGPT Canvas for Arduino library writing: A request- tabs & context, please!

Adafruit Industries

October 8, 20247m 47s

Audio is streamed directly from the publisher (adafruit-podcasts.s3.amazonaws.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

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