Spaces:
Running
Running
File size: 414 Bytes
6ce4ca6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# feetech.js
Control feetech servos through browser
## Usage
```bash
# Install the package
npm install feetech.js
```
```javascript
import { scsServoSDK } from "feetech.js";
await scsServoSDK.connect();
const position = await scsServoSDK.readPosition(1);
console.log(position); // 1122
```
## Example usage:
- simple example: [test.html](./test.html)
- the bambot website: [bambot.org](https://bambot.org)
|