Due to a technical constraint (number of interrupts in the micro controller to be exact), the infrared receiver block only works when uploaded in the Arduino mode. Sorry for that.