Close

PWM overlay

A project log for Raspberry Pi EVSE Hat

Use a Raspberry Pi to build an EV charging station

Nick SayerNick Sayer 08/27/2020 at 04:260 Comments

It turns out you can also dynamically turn on hardware pwm. Just run this (as root):

# dtoverlay pwm pin=18 func=2

That will make /sys/class/pwm/ and all of the rest show up and work.

Discussions