smartknob/software/js
Scott Bezek 1d2458b28a
Web Serial library and demo (#125)
- reworked smartknobjs into separate smartknobjs-node and
smartknobjs-webserial packages
- configured CI to build and deploy webserial example to
https://scottbez1.github.io/smartknob/
2023-06-20 00:13:25 -07:00
..
packages Web Serial library and demo (#125) 2023-06-20 00:13:25 -07:00
.gitignore Protobuf serial protocol (#101) 2022-10-22 17:27:35 -07:00
.npmrc Protobuf serial protocol (#101) 2022-10-22 17:27:35 -07:00
package-lock.json Web Serial library and demo (#125) 2023-06-20 00:13:25 -07:00
package.json Web Serial library and demo (#125) 2023-06-20 00:13:25 -07:00
README.md New detent configurations (magnetic and biased-to-center) and demo React app (#105) 2023-01-16 13:58:03 -08:00

Typescript SmartKnob protobuf interface library and examples

  • node >= 18.11.0
  • npm >= 8.19.2

Setup

npm ci
npm run build

Example

A basic Node.js CLI example. Connect the SmartKnob via USB, then run the example:

npm run example