This light and proximity sensor using the VCNL4020 https://www.digikey.com/en/products/detail/vishay-semiconductor-opto-division/VCNL4020-GS08/2813348 was designed a few months ago, but we were dragging our feet on writing the library code as its kind of a tedious process. Now, with our new BFF ChatGPT4, we can crank through a library with minimal typing. Of course, we check each function and #define as it is written - sometimes typos and misunderstandings come through. But overall, it's a much faster and easier process. We wrote a full-coverage library and example sketches in only a couple hours. Here's the chat log https://chat.openai.com/c/854d8c05-2bb6-46df-acdb-d2ea649ddfe2 - The output still needs to be cleaned up a tad, but you can see the library here while we hack on getting it to pass CI https://github.com/adafruit/Adafruit_VCNL4020
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 #arduino #adafruit #opensource #opensourcehardware #ai #VCNL4020 #proximity #sensor #coding #hardwaretesting #librarydevelopment #prototyping #automation #developerlife #electronics #embeddedsystems #breakoutboard #innovation