Implementation of SIRC, software end code. This works independent of the board at the hardware end.