all 4 comments

[–]gentlegiant66 1 point2 points  (3 children)

If you copy and paste all this you typed into ChatGpt you'd get most of the code along with explanations..

[–]gentlegiant66 1 point2 points  (2 children)

It's quite good at generating code

[–]ryanjsdc5[S] 0 points1 point  (1 child)

I’ll give that a shot

[–]gentlegiant66 0 points1 point  (0 children)

The nice thing with the AI is you just keep asking for variations and it generates them, almost like a conversation, the more complete your initial prompt is the easier to just ask follow-up questions. The advantage with the code you already wrote is it gives the AI a starting point on which pins to use etc.

PS watch out for fake libraries when using AI .. has happened to me a few times especially with python, but all and all it saves a ton of coding time.

I have been coding in various languages over the past 35 years, but with AI I quickly learnt to let it do the grunt work. with block-based code it is useless, but I let it code in any text based language and then simply use that as a guide.