Scott Bezek 590ba8850c Demo improvements (#135) 2 anni fa
..
packages 590ba8850c Demo improvements (#135) 2 anni fa
.gitignore ae28d523e0 Protobuf serial protocol (#101) 3 anni fa
.npmrc ae28d523e0 Protobuf serial protocol (#101) 3 anni fa
README.md 9431ed3971 New detent configurations (magnetic and biased-to-center) and demo React app (#105) 3 anni fa
package-lock.json 1d2458b28a Web Serial library and demo (#125) 2 anni fa
package.json 1d2458b28a Web Serial library and demo (#125) 2 anni fa

README.md

Typescript SmartKnob protobuf interface library and examples

Requirements (nvm is recommended)

  • 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