Web Serial Test
Rayslogic Home
Propeller II
Propeller Forums
Good page with
info on Web Serial API is here
Test Browser Connection to P2 using Terminal example
Note: P2 will reboot when connection is made so P2 program must be written to Flash before testing !!!!!!!!!!
Program
this Spin2 file to flash
(and maybe examine in Prop Tool to see what it does)
Use a compatible browser such as Edge or Chrome to navigate to
this page with terminal demo
Hit the "Connect" Button and pick the serial port that P2 is connected to and click on blue Connect button:
Next, click on the black window beneath the options.
Now, when you type in a character, P2 with respond with "#" followed by the ascii code for the character:
If you select "Local echo", you can also see the character you typed:
Test #3
: Control P2 I/O pins using browser!