I have a problem with accessing PWM pins. I managed them as PWM2 and PWM5 from Device Tree Editor. But, I can not reach them from udoo terminal. I wrote: Code: sudo sh -c "echo 0 > /sys/class/pwm/pwmchip0/export" Then, I took from terminal "I/0 Error". How can ı fix this problem ? Thank you.
I am not sure but pwm_2 could be exported with echo 1 > /sys/class/pwm/pwmchip0/export This would result in a pwm1 in /sys/class/pwm/pwmchip0 But it could also be 2 instead of 1 resulting in pwm2. Depends how the count is done.
I just have tried, but I got same result. I will try to manage PWMs from IDE. It may work. Thanks for your response walter.
Yes, I am sure. I rebooted every time after I used it. Firstly I tried it in default positions of pins, that time terminal showed to me no such files or directory. Then I fixed it logically, but I can not handle it with I/O error
I just tried it and I was able to create pwm0 ( pwm_2) with sudo sh -c "echo 0 > /sys/class/pwm/pwmchip0/export And I got a working flashing led following the pwm instructions.