Apply IR to main or selected segments.

Refactored IR code.
This commit is contained in:
Blaz Kristan
2022-02-07 00:40:45 +01:00
parent 6c943a7158
commit e35ad7551b
9 changed files with 284 additions and 237 deletions

View File

@@ -108,7 +108,7 @@ void sendImprovRPCResponse(uint8_t commandId);
//ir.cpp
//bool decodeIRCustom(uint32_t code);
void applyRepeatActions();
void relativeChange(byte* property, int8_t amount, byte lowerBoundary = 0, byte higherBoundary = 0xFF);
byte 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);