change to event_detect to monitor both gpio 3 and 7