feetech.js
Version:
javascript sdk for feetech servos
41 lines (26 loc) • 949 B
Markdown
> [bambot.org/feetech.js](https://bambot.org/feetech.js)
Control feetech servos through browser
```bash
npm install feetech.js
```
```javascript
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
```
https://deepwiki.com/timqian/bambot/4.1-feetech.js-sdk
- Test and config servos: [bambot.org/feetech.js](https://bambot.org/feetech.js)
- Simple html + js example: [test.html](https://github.com/timqian/bambot/blob/main/feetech.js/test.html)
- Control different bots: [bambot.org](https://bambot.org)
- https://github.com/Adam-Software/Feetech-Servo-SDK