Spaces:
Running
Running
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:
- Test and config servos: bambot.org/feetech.js
- Simple html + js example: test.html
- Control different bots: bambot.org