-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample Code to control LED/Motor using Web Serial #1
Comments
@renerichter? ;-) |
Hey @frauzufall, as discussed earlier today: I'll just link you here.
I think people in general are overwhelmed to install 100 python dependencies. So using the browser instead would be wonderful. (almost installation free) + we can use the webcam interface to readout the videos :-) A long-term dream would be a platform that entirely runs in the browser, but perhaps we could start with small steps and just turn on/off an LED. The general structure of the commands is somewhat documented here: The python library is currently hosted here: https://github.com/openUC2/UC2-REST/tree/master/uc2rest Would be great if you can have a quick look. My guessing: A Baudrate/line ending problem in the serial connection or something like that. |
@renerichter perhaps you are keen on optimizing/beautifying the sample page? ;-) |
It would be nice have a simple installation-free online tool that connects to the ESP board and sends some commands to test LED/Motors, etc.
The sample code can be found here.
It gets rendered here: https://youseetoo.github.io/indexWebSerialTest.html
It uses the following JS library: https://github.com/makeabilitylab/p5js/
So far: It's connecting, but I guess something with line-break or Baudrate is not setup properly.
@renerichter, would you mind helping here? :)
The text was updated successfully, but these errors were encountered: