DEV Community

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

Collapse
 
c00lnerd profile image
c00lnerd

I would like to use this to connect to HC-05, HC-06 devices for controlling arduinos boards.
Your web app doesn't seem to see those when I try to connect,
What do I need to do?

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.