Browse Source

With Sketch

master
Aeris 2 years ago
parent
commit
2a747d3a15
4 changed files with 7 additions and 3 deletions
  1. + 6
    - 0
      README.md
  2. + 1
    - 3
      mqtt_ir.ino
  3. BIN
      sketch.fzz
  4. BIN
      sketch.png

+ 6
- 0
README.md

@ -14,3 +14,9 @@ This piece of garbage receives commands via mqtt and emits NEC decoded commands
Heavily based on https://github.com/markszabo/IRremoteESP8266
## Sketch
Notice, that there are different pin layouts for the TSOP\* Diodes
![Sketch](sketch.png)

+ 1
- 3
mqtt_ir.ino

@ -63,7 +63,7 @@ int saveCommand(char * command, uint8_t length, uint32_t code){
}
int saveStore(){
EEPROM.begin(512);
EEPROM.begin(512); // 4096 Possible
EEPROM.put( 0, store ); // address of begin of eeprom "0"
delay(200);
EEPROM.commit(); // Only needed for ESP8266 to get data written
@ -102,8 +102,6 @@ void setup_wifi() {
*/
}
uint16_t input[100] = {0};
int check(char * buf, int length){
char * a = buf;
for (;a-buf < length;a++){

BIN
sketch.fzz


BIN
sketch.png

Before After
Width: 756  |  Height: 564  |  Size: 62 KiB

Loading…
Cancel
Save