setup gpio 118 for trigger