Skip to content

Latest commit

 

History

History
executable file
·
10 lines (7 loc) · 435 Bytes

README.md

File metadata and controls

executable file
·
10 lines (7 loc) · 435 Bytes

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