Servo P8

![]() | ![]() | ![]() | ![]() |
8 Servo Controller
- Overview
- Drivers
- Samples
- Projects
8 Servo Controller
Key features • Eight 3-pin male headers | Resources |
Function | Description |
---|---|
DVer() | Returns the driver version |
The Code!
Modules ship with this script preloaded. Use Console to reload or modify the drivers. Additionally, some languages, such as Python, include DUELink.Engine.Record()
for recording scripts directly from the host.
tip
Servo P8 module uses Servo Motors API directly. No other drivers needed.
##### Driver Code Starts Here ###
fn DVer()
return 0.1
fend
##### User Code Starts Here #####
- Script
- Python
- JavaScript
Use Console to modify the default driver by adding this sample.
# Append this code at the bottom of the script, right after the driver.
# You MUST keep the driver code!!
dim b1[8] = [0, 45, 90, 135, 180, 135, 90, 45] # degree
_i = 0
while 1
for x in range (1, 9)
servost(x, b1[_i])
next
_i = (_i + 1) % 8
Wait(1000)
wend
from DUELink.DUELinkController import DUELinkController
import time
availablePort = DUELinkController.GetConnectionPort()
duelink = DUELinkController(availablePort)
//code
Coming soon!
Ordering Info
Description | Part Number | Price |
---|---|---|
Servo P8 | GDL-ACSERVOP8-B | $00.00 |