blanchon's picture
Update
f62f94b

feetech.js

bambot.org/feetech.js

Control feetech servos through browser

Quick start

# Install the package
npm install feetech.js
import { ScsServoSDK } from "feetech.js";
const scsServoSdk = new ScsServoSDK();

// request permission to access the USB device and connect to it
// Note: This will prompt the user to select a USB device
await scsServoSdk.connect();

// read servo position
const position = await scsServoSdk.readPosition(1);
console.log(position); // 1122

Documentations

https://deepwiki.com/timqian/bambot/4.1-feetech.js-sdk

Example usage:

Ref