Skip to content

Instantly share code, notes, and snippets.

@McOrLi1
McOrLi1 / portta-ir-values
Created July 30, 2018 14:55
Portta HDMI switcher IR code
Encoding : NEC
Code : 1FE40BF (32 bits)
Timing[67]:
+ 9158, - 4452, + 648, - 526, + 610, - 524, + 612, - 494,
+ 644, - 494, + 644, - 494, + 642, - 496, + 642, - 524,
+ 612, - 1604, + 642, - 1606, + 642, - 1606, + 642, - 1606,
+ 640, - 1610, + 636, - 1614, + 610, - 1666, + 582, - 1666,
+ 582, - 558, + 578, - 558, + 578, - 1668, + 580, - 558,
+ 578, - 558, + 580, - 558, + 578, - 558, + 580, - 558,
+ 580, - 558, + 580, - 1668, + 580, - 558, + 580, - 1666,
#include <SPI.h>
#include <Bounce2.h>
#include <Ethernet.h>
#include <PubSubClient.h>
#include <LiquidCrystal.h>
LiquidCrystal lcd(8, 7, 6, 5, 4, 3, 2);
int backLight = 9; // pin 13 will control the backlight