We're are programming a Netflix TV remote control, and we see the code for testing the sending signals from the Particle Photon to the TV.
Programming the button
Testing the code for remote control for a Netflix TV
In the following sketch, we show an example of programming the button:
//Before using, make sure you get your IR timings and add your hue bridge IP/dev username in the appropriate places.
//To keep it as simple as possible, this does not contain any code for the optional LEDs on the case. We light up our indicators and logo after the button is pressed.
TCPClient client;
#define PIN_IR A0
#define PIN D0
#define NUM_PULSES 68
//specific to your TV
int pulse_widths[NUM_PULSES][2] = {
{62116, 8860}, {4360, 540}, {520...