IR blaster with esp32, WIP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
esp-irblaster/main/irblast.h

32 lines
455 B

/**
* IRBlaster main file
*
* Created on 2021/12/10.
*/
#ifndef _BLAST_H
#define _BLAST_H
#include "esp_err.h"
enum irblast_cmd {
IRBLAST_ONOFF,
IRBLAST_DAYNIGHT,
IRBLAST_SPEED1,
IRBLAST_SPEED2,
IRBLAST_SPEED3,
IRBLAST_MODE1,
IRBLAST_MODE2,
IRBLAST_MODE3,
IRBLAST_MODE4,
IRBLAST_HUM1,
IRBLAST_HUM2,
IRBLAST_HUM3,
};
void irblast_setup();
void irblast_send(enum irblast_cmd cmd);
#endif //_BLAST_H