Skip to content
GitLab
Explore
Sign in
Register
Jean Alinei
core
Wiki
Home
Home
· Changes
Page history
Update home
authored
Mar 08, 2023
by
Jean Alinei
Hide whitespace changes
Inline
Side-by-side
home.md
View page @
46f127fc
...
@@ -203,3 +203,28 @@ While(1) {
...
@@ -203,3 +203,28 @@ While(1) {
</tr>
</tr>
</table>
</table>
<table>
<tr>
<th>
Configure duty cycle with setDuty function
</th>
</tr>
<tr>
<td>
```
While(1) {
hwConfig.setDuty(0.8);
k_msleep(1500);
hwConfig.setDuty(0.5);
k_msleep(1500);
}
```
</td>
</tr>
<tr>
<td>
![
index
](
uploads/c70a2d80b7779a86183ba9e5e86af4bc/index.html
)
</td>
</tr>
</table>