ChatGPT is an artificial intelligence-based chatbot that was introduced by OpenAI on November 30th. With ChatGPT, it is possible to engage in conversations and discussions. In fact, GPT stands for Generative Pretrained Transformer, and it is programmed to be able to converse with the public.

Various voice assistants also operate on this basis.

We tested it out and asked the AI to generate the code for creating a simple traffic light using Arduino and NeoPixel LEDs.

Here is the result:

 

By Boris Landoni

Boris Landoni is the technical manager of Open-Electronics.org. Skilled in the GSM field, embraces the Open Source philosophy and its projects are available to the community.

One thought on “ChatGPT: Writing Code with Artificial Intelligence”

Leave a Reply

Your email address will not be published. Required fields are marked *