pwm not working, gpio is working, some updates to match RPi.GPIO api