Volt ref and resolution can change based on pin, so pass the pin to those functions
PWM resolution/max_int functions take a pin
Split digital pin counts into input and output versions