mirror of
				https://github.com/Show-maket/IR-protocol.git
				synced 2025-10-29 18:12:36 +00:00 
			
		
		
		
	enable-disable func
This commit is contained in:
		| @ -25,10 +25,13 @@ public: | ||||
|     PacketTypes::BasePack gotRaw; | ||||
|  | ||||
|     // IR_Decoder(); | ||||
|     IR_Decoder(const uint8_t pin, uint16_t addr, IR_Encoder *encPair = nullptr); | ||||
|     IR_Decoder(const uint8_t pin, uint16_t addr, IR_Encoder *encPair = nullptr, bool autoHandle = true); | ||||
|  | ||||
|     std::function<void()> operator()(); | ||||
|  | ||||
|     void enable(); | ||||
|     void disable(); | ||||
|  | ||||
|     ~IR_Decoder(); | ||||
|  | ||||
|     static void tick(); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user