Skip to content

pogrib0k/web-serial-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Serial API

A simple demo showing the basics of the Web Serial API connecting a browser with an Arduino.

TL;DR

  1. Setup STM32 to reciev and get messages by serial port.
  2. Serve the web app code using the tool of your preference, or simply run npx http-server to see it live
  3. Open the demo on your (Chromium based) browser
  4. Use the "Connect to serial port" button to open the Web Serial prompt and pick the right port

About

An example of the basics of the Web Serial API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 51.3%
  • HTML 26.4%
  • CSS 17.4%
  • C++ 4.9%