... | ... | @@ -178,4 +178,31 @@ This sets the “deadline” expiration as a time delta from the current time, i |
|
|
|
|
|
# Test animated svg
|
|
|
|
|
|
![test_pwm_animated](uploads/6818302a2dd2ab453eb24fe2fcd4d6aa/test_pwm_animated.svg) |
|
|
<table>
|
|
|
<tr>
|
|
|
<th>
|
|
|
|
|
|
</th>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>
|
|
|
|
|
|
`While(1) {`
|
|
|
|
|
|
`hwConfig.setDuty(0.8);`\
|
|
|
`k_msleep(1500);`\
|
|
|
`hwConfig.setDuty(0.5);`
|
|
|
|
|
|
`k_msleep(1500);`
|
|
|
|
|
|
`}`
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>
|
|
|
|
|
|
![test_pwm_animated](/jalinei/core/-/wikis/uploads/6818302a2dd2ab453eb24fe2fcd4d6aa/test_pwm_animated.svg)
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
|