Bill at DroneBot Workshop (Youtube) did a nice walk through, having ChatGPT write the code for an Arduino temperature sensor and display project similar to listener @MickoJeVo's project mentioned in SN 907. Bill introduced some intentional errors (having to do with Arduino outputs) to see if ChatGPT would correct them. He also asked ChatGPT to add code for a button to toggle degrees Celsius to Fahrenheit. Finally, Bill demonstrated how ChatGPT could generate code for the ESP32 micro-controller in both C++ and micro-python. I thought it was pretty interesting.
DroneBot Workshop - ChatGTP with Arduino and ESP32
DroneBot Workshop - ChatGTP with Arduino and ESP32