script to print gpio pin input status to screen constantly
ircontrol copied from rfcontrol