forked from Aircoookie/WLED
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f232947
commit c6ea2df
Showing
4 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#include "wled.h" | ||
#include <Arduino.h> | ||
#include "wled_led.h" | ||
#include "wled_ir.h" | ||
#include "wled_notify.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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,24 @@ | ||
#ifndef WLED_IR_H | ||
#define WLED_IR_H | ||
#include <Arduino.h> | ||
/* | ||
* Infrared sensor support for generic 24/40/44 key RGB remotes | ||
*/ | ||
|
||
bool decodeIRCustom(uint32_t code); | ||
void relativeChange(byte* property, int8_t amount, byte lowerBoundary = 0, byte higherBoundary = 0xFF); | ||
void changeEffectSpeed(int8_t amount); | ||
void changeEffectIntensity(int8_t amount); | ||
void decodeIR(uint32_t code); | ||
void decodeIR24(uint32_t code); | ||
void decodeIR24OLD(uint32_t code); | ||
void decodeIR24CT(uint32_t code); | ||
void decodeIR40(uint32_t code); | ||
void decodeIR44(uint32_t code); | ||
void decodeIR21(uint32_t code); | ||
void decodeIR6(uint32_t code); | ||
|
||
void initIR(); | ||
void handleIR(); | ||
|
||
#endif //WLED_IR_H |