Merge pull request #92 from JustAddWires/DMap

D map
analogWrite() (PWM) for Gen1.
Gen1 I/O Expander pin configuration code is now thread safe.