Download libraries/Adafruit_Circuit_Playground/utility/IRLib_P99_Additional.h from Beifengdo/Arduino-Development: direct link, hf CLI and curl.
- Browser
- Download file 1.78 kB
-
https://huggingface.co/datasets/Beifengdo/Arduino-Development/resolve/main/libraries/Adafruit_Circuit_Playground/utility/IRLib_P99_Additional.h
- Command line
-
hf download hf://datasets/Beifengdo/Arduino-Development/libraries/Adafruit_Circuit_Playground/utility/IRLib_P99_Additional.h
-
curl -L -o IRLib_P99_Additional.h https://huggingface.co/datasets/Beifengdo/Arduino-Development/resolve/main/libraries/Adafruit_Circuit_Playground/utility/IRLib_P99_Additional.h
1.78 kB
| /* IRLib_P99_Additional.h | |
| * Part of IRLib Library for Arduino receiving, decoding, and sending | |
| * infrared signals. See COPYRIGHT.txt and LICENSE.txt for more information. | |
| */ | |
| /* | |
| * This is dummy code that you can copy and rename and modify when implementing new protocols. | |
| */ | |
| class IRsendAdditional: public virtual IRsendBase { | |
| public: | |
| void IRsendAdditional::send(uint32_t data) { | |
| //void IRsendAdditional::send(uint32_t data, uint32_t data2)//optional form | |
| /********* | |
| * Insert your code here. | |
| *********/ | |
| }; | |
| }; | |
| class IRdecodeAdditional: public virtual IRdecodeBase { | |
| public: | |
| bool IRdecodeAdditional::decode(void) { | |
| IRLIB_ATTEMPT_MESSAGE(F("Additional")); | |
| /********* | |
| * Insert your code here. Return false if it fails. | |
| * Don't forget to include the following lines or | |
| * equivalent somewhere in the code. | |
| * | |
| * bits = 32; //Substitute proper value here | |
| * value = data; //return data in "value" | |
| * protocolNum = ADDITIONAL; //set the protocol number here. | |
| */ | |
| return true; | |
| } | |
| }; | |