... | ... | @@ -190,12 +190,12 @@ This sets the “deadline” expiration as a time delta from the current time, i |
|
|
|
|
|
|
|
|
```
|
|
|
`While(1) {`
|
|
|
`hwConfig.setDuty(0.8);`\
|
|
|
`k_msleep(1500);`\
|
|
|
`hwConfig.setDuty(0.5);`
|
|
|
`k_msleep(1500);`
|
|
|
`}`
|
|
|
While(1) {
|
|
|
hwConfig.setDuty(0.8);
|
|
|
k_msleep(1500);
|
|
|
hwConfig.setDuty(0.5);
|
|
|
k_msleep(1500);
|
|
|
}
|
|
|
```
|
|
|
|
|
|
</td>
|
... | ... | |