Replies: 4 comments 3 replies
-
ChatGPT is generative LLM, do not exactly fit for creating code . On this level of 'evolution' it just will search www to find "answer" for your question, then it is make sence (i.e find answer for question in linguistic meaning) but from expecting a "write/generate" code it is Russian roulette ( for simple question 1 bullet, for more complicated: 6 in 6 chamber). When you as question in google search, then you will got list of www (github, tutotrials, etc) and then you will read, got some links to source, etc, You will understand context and will be able to chose best fitted solution for your problem, most important you will learn something about programming, hardware etc.. Chat GBT will do not perform this process - because it looking answer from linguistic point of view (not programmer perspective). My suggestion: do not use GBT for programming, unless it itself is some experiment |
Beta Was this translation helpful? Give feedback.
-
Please refer to the official documentation for examples and API usage: https://docs.micropython.org/en/latest/library/espnow.html |
Beta Was this translation helpful? Give feedback.
-
I have been testing ChatGPT as a reference source for Pytho/micropython instructions; so far I've tested the returned results and they have functioned correctly. What is really interesting is that you can ask follow-up questions about the returned results. For a simple example I asked ChatGPT: Give an example of the Python bytes() function.
Next I asked: Why was the 'utf-8' encoding used instead of 'ascii'? [Edited response, they can be lengthy]
Next I asked: Which encoding routine is faster; 'utf-8' or 'ascii'? [Again lengthy response edited]
ChatGPT gives references, and justifications for all it's responses. So far I'm quite impressed; as each response was returned in 10 secs; it would take me a lot longer to look-up references. Also, for the detailed information requested; differences between utf-8 & ascii encoding, particularly speed of operation might be very difficult, if not impossible to find in various references. |
Beta Was this translation helpful? Give feedback.
-
chatGPT can be a useful assistants, the better the question, the better the answer |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When asked: "Create a program in MicroPython for an ESP8266 to loop receiving an ESPNow message from an ESP32 access point, then print the result"
This is the code it created:
Does this make any sense to anyone?
I had made the exact same request after clearing all EDGE cookies.
This was the result:
There is a "New Topic" icon that will probably clear ChatGPT topic memory, as deleting the cookies did.
Go figure; it got it right; at least close. ;-)
Beta Was this translation helpful? Give feedback.
All reactions