DEV Community

Discussion on: The amazing powers of the web: Web Serial API

Collapse
 
unjavascripter profile image
Diego Coy

Indeed the example code is quite basic, you would need to update the arduino code to return the sensor readings and handle it on the browser side by catching the messages received by the read function. I'll check if I still have one of those sensors and maybe add it to the example code.