Updated online code to merge with existing examples

Clean up and uploaded latest online code hack. Added in method for
managing pwm from code. Still not working though.