[RISOLTO] Usare un telecomando IR come se fosse una tastiera numerica

Potresti provare con un while a vuoto finchè non ricevi, ti faccio un esempio

while( irRX == false ){}
// codice che gestisce le letture

Dove irRX è il pin del ricevitore ir.