Channel¶
Channel is an object type. You don't create it directly: you get one from another call, then call its methods with a colon, e.g. channel:name().
Methods¶
| Function | Description | Since |
|---|---|---|
name() |
Get / Set the channel name. | 1.6.0 |
direction() |
Get / Set the direction of the channel (1 is normal / -1 reverse) | 1.6.0 |
min() |
Get / Set the min percent of the channel. | 1.6.0 |
max() |
Get / Set the max percent of the channel. | 1.6.0 |
center() |
Get / Set the center percent of the channel. | 1.6.0 |
pwmCenter() |
Get / Set the pwm center value of the channel. | 1.6.0 |
slowUp() |
Get / Set the Slow-up value of the channel. | 1.6.4 |
slowDown() |
Get / Set the Slow-down value of the channel. | 1.6.4 |