Set PWM
SetPWM
ID 315
- Payload
- 9 bytes
- Packet
- 31 bytes
- Source
- vehicle
- Category
- Actuation
Set properties of a PWM signal channel.
#Fields
| Offset | Field | Type | Unit | Range | Description |
|---|---|---|---|---|---|
| 0 | #idChannel Identifier |
uint8_t |
– | – | PWM channel identifier. |
| 1 | #periodPeriod |
uint32_t |
µs | – | The total period of the PWM signal (sum of active and inactive time of the PWM). |
| 5 | #duty_cycleDuty Cycle |
uint32_t |
µs | – | The active time of the PWM signal. The duty cycle value must be less or equal to the period. |