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. 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 – video.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord
CircuitPython – The easiest way to program microcontrollers – CircuitPython.org
New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)
Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi
EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey
Adafruit IoT Monthly — The 2024 Recap Issue!
Maker Business – Adafruit Daily — Apple to build another chip at TSMC Arizona
Electronics – Adafruit Daily — SMT Tip – Stop moving around!
No Comments
No comments yet.
Sorry, the comment form is closed at this time.
Tags: Adafruit, adafruitcommunity, arduino, arduinosketch, canvas, ChatGPT, chatgptcanvas, codecontext, cpp, embeddedsoftware, fastercoding, hardwaredevelopment, ino, LadyAda, librarywriting, lightdetector, limorfried, multiplefiles, OpenAI, openaiinnovation, philrecommendation, proximitysensor, sensorlibrary, tabfeatures, vcnl4200 — by phillip torrone
Comments Off on Ladyada tries out ChatGPT Canvas for Arduino library writing: A request- tabs & context, please!