Hello
As a beginner with the ESP8266 module, I have a question for those familiar with the LUA programming language:
I attach a screen and the effect of its display in the console and my question: why does the PRINT instruction return only one number once and 8 once? Some schoolboy error, but I would like to know.
Second thing: I attach the listing of the program (some from the net) and on the right in the screen shot you can see the effects of it. Why doesn't the program read the temperature from the Dallas? I have tried 18S20 and 18B20. The program reads the address, calculates the CRC but does not read the temperature....
I use the module as pictured:
And also a quick question: which SYNTAX on Elektroda to use for pasting LUA code?
Greetings
As a beginner with the ESP8266 module, I have a question for those familiar with the LUA programming language:
I attach a screen and the effect of its display in the console and my question: why does the PRINT instruction return only one number once and 8 once? Some schoolboy error, but I would like to know.
Second thing: I attach the listing of the program (some from the net) and on the right in the screen shot you can see the effects of it. Why doesn't the program read the temperature from the Dallas? I have tried 18S20 and 18B20. The program reads the address, calculates the CRC but does not read the temperature....
Code: C / C++
I use the module as pictured:
And also a quick question: which SYNTAX on Elektroda to use for pasting LUA code?
Greetings