detectCommand()

Copy received IR command in raw mode and stores it as a null terminated array of marks and spaces (16 bits each). IR Controller must be initialized in receive mode prior to using this functions.
IR.detectCommand(IRCommand_t * command);
command pointer to IR command onject TRUE if command successfully decoded, otherwise FALSE