Загрузка данных


#include <QuadDisplay.h>
#include <IRremote.hpp>

#define DISPLAY_PIN 9
#define IR_RECV_PIN 3

void setup() {
  IrReceiver.begin(IR_RECV_PIN, ENABLE_LED_FEEDBACK);
  displayClear(DISPLAY_PIN);
}

void loop() {
  if (IrReceiver.decode()) {
    if (IrReceiver.decodedIRData.command == 0x67) {
      displayInt(DISPLAY_PIN, 67);
    }
    IrReceiver.resume();
  }
}