daily_automated

This commit is contained in:
topicchi
2023-03-17 11:59:21 +00:00
parent 252ecca9cf
commit e2f276193e
4496 changed files with 1178007 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
/* IRLibProtocols.cpp
* Part of IRLib Library for Arduino receiving, decoding, and sending
* infrared signals. See COPYRIGHT.txt and LICENSE.txt for more information.
*/
/*
* This module enumerates the various supported protocols and defines a program memory
* string used by the dump routines or your sketches to display the name of a protocol.
* It is used by both Send and Decode sections of the code but not Receive.
*/
#if !defined(ARDUINO_NRF52840_CIRCUITPLAY)
#include "IRLibProtocols.h"
/*
* Returns a pointer to a flash stored string that is the name of the protocol received.
*/
const __FlashStringHelper *Pnames(uint8_t type) {
if(type>89) return F("Unsup");
if(type>LAST_PROTOCOL) type=UNKNOWN;
// You can add additional strings before the entry for hash code.
const __FlashStringHelper *Names[LAST_PROTOCOL+1]={
F("Unknown"),F("NEC"),F("Sony"),F("RC5"),F("RC6"),F("Panasonic Old"),F("JVC"),
F("NECx"),F("Samsung36"),F("G.I.Cable"),F("DirecTV"),F("rcmm"),F("CYKM")
//,F("Additional_13")//expand or edit these
};
return Names[type];
};
#endif