Use interrupt handler for ADC. Wasn't called because of C++ mangling. Use buffer to store results.