Now samples at ~40kHz with a 100MHz clock speed. Still need some restructuring of determ_adc and then I can switch to the actual one.