File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -115,34 +115,23 @@ channel that was exported. The following properties will then be available:
115
115
116
116
period
117
117
The total period of the PWM signal (read/write).
118
- Value the sum of the active and inactive time of the PWM, using the
119
- time_unit property as a measurment unit .
118
+ Value is in nanoseconds and is the sum of the active and inactive
119
+ time of the PWM .
120
120
121
121
duty_cycle
122
122
The active time of the PWM signal (read/write).
123
- Value must be less than the period and uses the time_unit property as
124
- a measurment unit.
123
+ Value is in nanoseconds and must be less than the period.
125
124
126
125
phase
127
126
The phase difference between the actual PWM signal and the reference one.
128
- The value must be lower than period and uses the time_unit property as a
129
- measurment unit.
127
+ The value is expressed in nanoseconds and must be lower than period.
130
128
131
129
polarity
132
130
Changes the polarity of the PWM signal (read/write).
133
131
Writes to this property only work if the PWM chip supports changing
134
132
the polarity. The polarity can only be changed if the PWM is not
135
133
enabled. Value is the string "normal" or "inversed".
136
134
137
- time_unit
138
- The time unit used to measure the pwm period, duty_cycle and phase.
139
-
140
- - 1 - seconds
141
- - 2 - miliseconds
142
- - 3 - microseconds
143
- - 4 - nanoseconds
144
- - 5 - picoseconds
145
-
146
135
enable
147
136
Enable/disable the PWM signal (read/write).
148
137
You can’t perform that action at this time.
0 commit comments