Sampling on interrupts
Sort of works now