Added delays after trialStart and trailEnd digitalCodes so that they can work even when sampling rates are lower (1 kHz). Useful for EEG data acquisition systems.