flobernd / raspi-fanshim

Lightweight library to control the pimoroni Fan SHIM device on a Raspberry Pi
MIT License
13 stars 2 forks source link

RaspiFanshimIsFanEnabled returning false #3

Closed wilkinsm89 closed 4 years ago

wilkinsm89 commented 4 years ago

Hi,

I'm running DietPi and RaspiFanshimIsFanEnabled always returns false even with the fan running. Any ideas?

Thanks

wilkinsm89 commented 4 years ago

Solved.

Needed to update wiringPi to 2.52 for Raspberry Pi 4: http://wiringpi.com/wiringpi-updated-to-2-52-for-the-raspberry-pi-4b/