Cam Digitizer for state machine