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

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