Notifications
Clear all

Raspberry Pi PWM0 and PWM1 ???

3 Posts
2 Users
0 Likes
3,055 Views
(@phil_2020)
Member
Joined: 4 years ago
Posts: 27
Topic starter  

I want to run my L298n using PWM on ENA and ENB to control speed. When I look at different pin-out descriptions and read info I get confused. Is there a real hardware PWM0 and PWM1 pin ? Do I have to disable Audio ? Exactly what physical pins are they on ? 


   
Quote
triform
(@triform)
Member
Joined: 5 years ago
Posts: 324
 

WiringPi supports hardware PWM for the Pi. See: http://wiringpi.com/  You can use this from Python as well.  What Pi are you going to use?

 


   
ReplyQuote
(@phil_2020)
Member
Joined: 4 years ago
Posts: 27
Topic starter  

@triform

Thanks for the tip. I will check it out.


   
ReplyQuote