Hello everyone, There was a problem with the Esp32-c3 board. I made a code using AI (since I am weak in programming) which should send data from the Bmp280 module, namely temperature, pressure, and altitude. The problem is that when loading the sketch, the code works correctly and the data is sent. but when the power is reconnected, only the value “nan” comes in. For the code to work again, I need to open the port monitor, but I won’t be able to do this, since I want to solder the battery to this circuit and I won’t be able to open the port monitor. I will be grateful for any help!!! Thank's
@emilkaqq ,
AI generated code posted here for help generally doesn't get a good reception because the people here mostly want to help you learn to code, they are not so interested in helping fix AI generated code if doing so means you don't learn how to code yourself. If you are interested there is a long running debate about this here:
It might help if you read the forum guide:
Of particular relevance is the need to post a schematic (circuit diagram), and the preference for a hand drawn diagram, which can be photographed and the photograph uploaded. Fritzing diagrams are better then nothing but miss important information that can easilly included in a hand drawn diagram.
There are forum categories for other languages, perhaps one of them would be better for you. If you do want to start again in a different language please mention this here so people know.
I don’t think there is an error in the code, I think the problem is in the board itself and loading the sketch into it. I didn’t find any information on the Internet about this, so I’m here if there is a person who I faced the same problem, I think it will help me