feat: read serial port and play video

This commit is contained in:
bmeow 2024-08-03 18:24:32 +08:00
commit ad839bbdd4
Signed by: bmeow
GPG key ID: EA6961FF8459B45C
9 changed files with 243 additions and 0 deletions

7
README.md Normal file
View file

@ -0,0 +1,7 @@
# usr-tag-interaction
## Usage
1. Put video files in `video/` directory
2. Copy `tags.example.js` to `tags.js` and edit it
to configure the tag ids and the corresponding video urls
3. Open `index.html` with [browser that supports Web Serial API](https://caniuse.com/?search=serial)
(Chrome, Edge, Opera as of 2024/08/03)