Prevent spurious triggering by noise?

Also check out the State Change Detection example (File->examples->02.Digital->StateChangeDetection) since you want to do things WHEN the trigger goes low, not IF the trigger is low.