DEV Community

loading...

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

Collapse
virtualillie profile image
Lillie Bahrami

Hey Diego, thanks for the great tutorial! I'm running your demo with an Arduino Duemilanove right now and am getting the error "error reading data: TypeError: Cannot read property 'read' of undefined" when I try to send messages. Any idea what could be causing that? Thanks again!

Collapse
unjavascripter profile image
Diego Coy Author

Hi Lillie, It seems like I didn't add a Serial message to be send back in the Arduino code. I just updated the repo and the example. Give it a try and let me know how it goes.

Collapse
virtualillie profile image
Lillie Bahrami

Works like a charm! Thank you Diego, excited to use this in my own projects :)

Thread Thread
unjavascripter profile image
Diego Coy Author

Please let me know what you create :D