PWM module bugfix and clarification.
PWM module bugfix and clarification.

1) PWM write function used incorrect (constant) period value to
calculate active time.
2) Clarified internal data structure by changing it from list to dict.

8devices/IoTPy