Jump to content

Recommended Posts

Posted
Armbianmonitor:

Hi.

I have been playing with relay and gpio and having a lot of fun.

Now I want to use pwm to control a fan.

So I edit "/boot/hw_intfc.conf".

.....

intfc:pwm2=on

intfc:pwm3=on

....

And I reboot it. But I can't see "/sys/class/pwm/pwmchip2" and "/sys/class/pwm/pwmchip3"

What else should I do??

 

 

 

Posted
3 hours ago, kimwida said:

What else should I do??

Use the Armbian way ;)

 

Add the following line to /boot/armbianEnv.txt

overlays=pwm2 pwm3

Posted

I was confused that I should edit both "hw_intfc.conf" and "armbianEnv.txt".

But only "armbianEnv.txt" adding the line works.

Thank you.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines