Continuously Reading Values from Analog Sensor using Bolt

How to read values from an analog sensor( for ex. Sharp IR sensor) continuosly and display on page?

Found the answer. Try this code

1 Like

to read the values from the device use the code in this post

and use a setInterval function