;Set the trigger global variable for use in debugging. Allows for values that ;change rapidly to be printed to terminal once. (bind-func set_trigger (lambda() (set! trigger 1) (printf "TRIGGER=%d\n" (trigger))))