added IR switch processing sketches