Feetech.Instruction (feetech v0.2.3)

Copy Markdown View Source

Instruction codes for the Feetech servo protocol.

These are the command bytes sent in instruction packets to control servo behaviour.

Summary

Types

t()

Instruction code byte

Functions

Execute all buffered reg_write commands

Broadcast ID - all servos receive but don't respond

Query servo status

Read data from control table

Reset control table to factory defaults

Buffered write - waits for action command

Reset servo state (rotation count)

Read from multiple servos simultaneously

Write to multiple servos simultaneously

Write data to control table

Types

t()

@type t() :: non_neg_integer()

Instruction code byte

Functions

action()

(macro)

Execute all buffered reg_write commands

broadcast_id()

(macro)

Broadcast ID - all servos receive but don't respond

ping()

(macro)

Query servo status

read()

(macro)

Read data from control table

recovery()

(macro)

Reset control table to factory defaults

reg_write()

(macro)

Buffered write - waits for action command

reset()

(macro)

Reset servo state (rotation count)

sync_read()

(macro)

Read from multiple servos simultaneously

sync_write()

(macro)

Write to multiple servos simultaneously

write()

(macro)

Write data to control table