When I got the program working initially, it functioned correctly, but I found that after rebooting the Pi it doesn't work anymore. Running a different PWM-generating program beforehand fixes the problem, so it seems that either the GPIO pin or PWM generator setup has to be fixed.
When I got the program working initially, it functioned correctly, but I found that after rebooting the Pi it doesn't work anymore. Running a different PWM-generating program beforehand fixes the problem, so it seems that either the GPIO pin or PWM generator setup has to be fixed.
I am investigating.