Write v2 of LED_CORRECTION, this time using state
machines
Applied new LED_CORRECTION