Search code examples
raspberry-piraspberry-pi3pwm

Sample program for RPI 3 hardware PWM?


I am trying to use the RPI 3's hardware PWM pin.

Is there a simple Bash script or C program that activates and controls the PWM pin?


Solution

  • WiringPi has written a GPIO utility for testing against the Raspberry GPIO pins. It includes PWM functionallity. Check it out on http://wiringpi.com/the-gpio-utility/