This is a modified version of the code for the Pimorini cooling fan set to run the Fan slower and quieter using Pulse Width Modulation (PWM). This is based on version ...
I have a RockPi 4 with a simple fan connected via PWM1. When the rockpi is booted, the fan is off. While the script is running, the fan stays off, as expected (writing 0 would enable it). However, ...