Create uartpwm.py

companion file to uartpwm.c