Проблема при декодировании кода с ИК датчика

Доброго времени суток. Встретился с такой проблемой. На моем ПК перестали работать все скетчи с использованием ИК и ДУ. Проверяли этот же скетч На другом ПК, там все работает. Скетч спокойно загружается на плату, не выдавая ни каких ошибок, но при этом нажатие на любую кнопку ДУ выдает один и тот же код

#include "IRremote.h"
const int IR_PIN = 6;
IRrecv irrecv(IR_PIN);
void setup() {
  Serial.begin(9600);
  Serial.println("ready");
  irrecv.enableIRIn();
}
void loop() {
  decode_results results;
  if (irrecv.decode(&results)) {
Serial.println(results.value);
irrecv.resume();
  }
}


P.S. Платы под рукой сейчас нет. Но суть проблемы не изменилась. Монитор порта в Arduino IDE выдает точно такие же значения

Т.е. подключаете плату в один комп - все нормально, сразу суете в другой - становится ненормально?

У вас ̶г̶р̶а̶н̶а̶т̶ы̶ библиотеки не той системы !!! Это не код IR, а мусор из стека …

Converting your 2.x program to the 4.x version
Starting with the 3.1 version, the generation of PWM for sending is done by software, thus saving the hardware timer and enabling arbitrary output pins for sending.
If you use an (old) Arduino core that does not use the -flto flag for compile, you can activate the line #define SUPPRESS_ERROR_MESSAGE_FOR_BEGIN in IRRemote.h, if you get false error messages regarding begin() during compilation.

IRreceiver and IRsender object have been added and can be used without defining them, like the well known Arduino Serial object.

Just remove the line IRrecv IrReceiver(IR_RECEIVE_PIN); and/or IRsend IrSender; in your program, and replace all occurrences of IRrecv. or irrecv. with IrReceiver and replace all IRsend or irsend with IrSender.

Since the decoded values are now in IrReceiver.decodedIRData and not in results any more, remove the line decode_results results or similar.

Like for the Serial object, call IrReceiver.begin(IR_RECEIVE_PIN, ENABLE_LED_FEEDBACK) or IrReceiver.begin(IR_RECEIVE_PIN, DISABLE_LED_FEEDBACK) instead of the IrReceiver.enableIRIn() or irrecv.enableIRIn() in setup().
For sending, call IrSender.begin(ENABLE_LED_FEEDBACK); or IrSender.begin(DISABLE_LED_FEEDBACK); in setup().
If IR_SEND_PIN is not defined you must use e.g. IrSender.begin(3, ENABLE_LED_FEEDBACK, USE_DEFAULT_FEEDBACK_LED_PIN);

Old decode(decode_results *aResults) function is replaced by simple decode(). So if you have a statement if(irrecv.decode(&results)) replace it with if (IrReceiver.decode()).

The decoded result is now in in IrReceiver.decodedIRData and not in results any more, therefore replace any occurrences of results.value and results.decode_type (and similar) to IrReceiver.decodedIRData.decodedRawData and IrReceiver.decodedIRData.protocol.

Overflow, Repeat and other flags are now in IrReceiver.receivedIRData.flags.

Seldom used: results.rawbuf and results.rawlen must be replaced by IrReceiver.decodedIRData.rawDataPtr->rawbuf and IrReceiver.decodedIRData.rawDataPtr->rawlen.

The 5 protocols NEC, Panasonic, Sony, Samsung and JVC have been converted to LSB first. Send functions for sending old MSB data for NEC and JVC were renamed to sendNECMSB, and sendJVCMSB(). The old sendSAMSUNG() and sendSony() MSB functions are still available. The old MSB version of sendPanasonic() function was deleted, since it had bugs nobody recognized.
For converting MSB codes to LSB see below.

Так может это tinkercad глючит?

Это значения 0xFFFFFFFF - код клавиши повтор. На мусор не похоже.

Ну Вы хоть почитайте автора. Или только интернетовские ссылки?