Rewrote ADC10 code to use interrupts instead of busy wait. Fixes #5