Sample one ADC channel and save on switch press.
Y-axis on P1.4, z-axis on P1.5.