- added example
- moved driver definition outside of pwm_driver.h
- removed changing the gpio direction to GPIO_IN when closing