An Arduino library for decoding and encoding infrared remote control signals