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?
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/