added setListeningTime func to main script
changed gpio pin