Implement analogReadResolution().
Added analogReadResolution() to set the number of bits returned from an ADC conversion.
Scale ADC values to the requested number of bits in the analogRead() routine.
Added analogReference() function.
Fixed ThrowError() call problem in analogReadResolution() function.
Implemented analogWrite()/PWM for Gen2.
Moved ADC pin number to channel translation out of the Arduino Wiring layer for simplicity and consistency.
Fixed problem with pin attributes table from the I/O expander bit value definitions.
Fixed problem in mux attributes table relating to the PWM MUXes.
Fixed typos in comments.
Merge pull request #82 from JustAddWires/DMap

D map