Fixed a few bugs identified by Aleksey
 * 100hz wasn't working right.   Exacerbated by the fact that it was the default
 * EINVAL periods would cause the pwm part of the chip to stop working
 * The period and duty registers are NOT 16 bit, although I was trying to use them as such