added C++ ADC for motor sensor input

this is still a work in progress.  next step is to setup the ADC with
interrupts, and have it count edge transitions.  number of edges/time is
the speed of the motor.