This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Wire.h> | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_SSD1306.h> | |
#define MAIN_BTN_PIN (2) // PA14 | |
#define P1_BTN_PIN (3) // PA9 | |
#define P2_BTN_PIN (5) // PA15 | |
#define LED_PIN LED_BUILTIN // (13) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:020000040800F2 | |
:20000000D03600200101000835190008351900083519000835190008351900080000000002 | |
:2000200000000000000000000000000035190008351900080000000035190008312900085C | |
:200040001B0100081B0100081B0100081B0100081B0100081B0100081B0100081B01000880 | |
:200060001B0100081B0100081B010008150F0008350F0008550F0008810F0008AD0F0008D4 | |
:20008000D90F0008051000081B0100081B0100086D5800081B0100081B0100081B010008D2 | |
:2000A0001B0100081B0100081B0100081B0100081B0100081B0100081B0100081B01000820 | |
:2000C0001B0100081B0100081B0100081B0100081B010008E12B0008F12C00081B0100080F | |
:2000E0001B0100081B0100081B010008DFF80CD000F03CF800480047715A0008D036002035 | |
:200100000648804706480047FEE7FEE7FEE7FEE7FEE7FEE7FEE7FEE7FEE7FEE7B52A00085C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* USER CODE BEGIN Header */ | |
/** | |
****************************************************************************** | |
* @file : main.c | |
* @brief : Main program body | |
****************************************************************************** | |
* @attention | |
* | |
* <h2><center>© Copyright (c) 2020 STMicroelectronics. | |
* All rights reserved.</center></h2> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Please make this file available to others | |
# by sending it to <lirc@bartelmus.de> | |
# | |
# this config file was automatically generated | |
# using lirc-0.9.0-pre1(default) on Thu Jan 1 11:36:41 1970 | |
# | |
# contributed by | |
# | |
# brand: adth-stb.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* http://projectproto.blogspot.com/2017/05/attiny-ir-remote.html | |
*/ | |
#include <avr/io.h> | |
#include <avr/interrupt.h> | |
#include <avr/sleep.h> | |
#include <util/delay.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ESP8266WiFi.h> | |
#include <WiFiClient.h> | |
#include <ESP8266WebServer.h> | |
#include <ESP8266mDNS.h> | |
#include <IRremoteESP8266.h> | |
IRsend irsend( 14 /*GPIO pin*/); | |
ESP8266WebServer server(80); | |
const char* ssid = "........"; |