Cours:SaéSBC robotAutonome : Différence entre versions
Ligne 5 : | Ligne 5 : | ||
*https://forums.raspberrypi.com/viewtopic.php?t=359251 | *https://forums.raspberrypi.com/viewtopic.php?t=359251 | ||
− | + | *pwm0 | |
− | + | **channel 2 => gpio18 | |
− | ** | + | ***echo 2 > /sys/class/pwm/pwmchip2/export |
− | + | ***modifier duty_cyle et period | |
− | + | ||
− | + | ||
− | echo | + | |
</source> | </source> |
Version du 24 septembre 2024 à 14:12
pi5 et pwm
- https://gist.github.com/Gadgetoid/b92ad3db06ff8c264eef2abf0e09d569
- https://community.element14.com/products/raspberry-pi/m/files/148385
- https://forums.raspberrypi.com/viewtopic.php?t=359251
- pwm0
- channel 2 => gpio18
- echo 2 > /sys/class/pwm/pwmchip2/export
- modifier duty_cyle et period
- channel 2 => gpio18
</source>