add pwmtest

add a little python testscript for the raspberry pi similar to the arduino test code