Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 5c7c07cd authored by Robert Nelson's avatar Robert Nelson
Browse files

beagley-ai-using-pwm: use dev/hat/pwm symlink, pwmchipX can change


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 838ee227
1 merge request!122beagley-ai-using-pwm: use dev/hat/pwm symlink, pwmchipX can change
...@@ -43,7 +43,7 @@ In the editor copy paste the script content below, ...@@ -43,7 +43,7 @@ In the editor copy paste the script content below,
#!/bin/bash #!/bin/bash
PWMPIN="/sys/devices/platform/bus@f0000/23000000.pwm/pwm/pwmchip3/pwm1" PWMPIN="/dev/hat/pwm/hat-08-pwm"
echo 1000 > $PWMPIN/period echo 1000 > $PWMPIN/period
...@@ -92,4 +92,4 @@ Troubleshooting ...@@ -92,4 +92,4 @@ Troubleshooting
Going Further Going Further
******************* *******************
.. todo:: Fill out empty section .. todo:: Fill out empty section
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment