#lightdetector
Explore tagged Tumblr posts
Text
Ladyada tries out ChatGPT Canvas for Arduino library writing: A request- tabs & context, please!
We sat down this morning to try and crank out a library for the VCNL4200 light/proximity sensor
- 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.
#openai#chatgpt#canvas#adafruit#arduino#vcnl4200#proximitysensor#lightdetector#hardwaredevelopment#embeddedsoftware#librarywriting#openaiinnovation#cpp#ino#chatgptcanvas#limorfried#ladyada#philrecommendation#tabfeatures#codecontext#multiplefiles#arduinosketch#adafruitcommunity#sensorlibrary#fastercoding
6 notes
·
View notes
Photo

#myball #veiwingorbs #visualspheres #dataconverter #lightdetectors
0 notes