Hey guys!
Can anyone help me. I have done the same project many times with the ultrasonic sensor jsn-sr04t. Now it is my first time with the hc-sr04. Logs are showing that all the results as: ‘nan’. No measures are coming out. The object is 30 / 40 cm from the sensor.
Code: https://pastebin.com/embed_js/LYQ0fa2m
Thank you!