Arduino script for decoding IR signals