configurable ranges, self-testing of components
Added pin change interrupt code, non-functional
Low power mode added, might not actually work