Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By grandwarden
#39415 I am connecting HC SR 04 ultrasonic sensor with Arduino mega 2560 and ESp8266.
I want to take readings from the sensor and push that readings to the cloud.
while i am able to do it with arduino programming (i.e .ino file) ,
i want to do it with LUA programming . but it showing 0 0 0 0 all zeros as a result .
i am sharing .lua code .. what part i am doing wrong ??
You do not have the required permissions to view the files attached to this post.