Cours:SaéSBC robotAutonome : Différence entre versions
(→pi5 et pwm) |
(→pi5 et pwm) |
||
Ligne 4 : | Ligne 4 : | ||
*https://community.element14.com/products/raspberry-pi/m/files/148385 | *https://community.element14.com/products/raspberry-pi/m/files/148385 | ||
*pwm | *pwm | ||
+ | **pwm0 | ||
**gpio12 | **gpio12 | ||
<source lang=bash> | <source lang=bash> | ||
pinout | pinout | ||
ls /sys/class/pwm/pwmchip0/ | ls /sys/class/pwm/pwmchip0/ | ||
− | + | echo 0 > /sys/class/pwm/pwmchip0/export | |
</source> | </source> |
Version du 24 septembre 2024 à 11:13
pi5 et pwm
- https://gist.github.com/Gadgetoid/b92ad3db06ff8c264eef2abf0e09d569
- https://community.element14.com/products/raspberry-pi/m/files/148385
- pwm
- pwm0
- gpio12
pinout
ls /sys/class/pwm/pwmchip0/
echo 0 > /sys/class/pwm/pwmchip0/export