MCPcopy Create free account
hub / github.com/Arduino-IRremote/Arduino-IRremote / sendPronto_PF

Method sendPronto_PF

src/ir_Pronto.hpp:172–177  ·  view source on GitHub ↗

* Version of sendPronto that reads from PROGMEM, saving RAM memory. * @param str pronto C type string (null terminated) containing a Pronto Hex representation. * @param aNumberOfRepeats Number of times to send the signal. */ far pointer (? for ATMega2560 etc.)

Source from the content-addressed store, hash-verified

170 */
171//far pointer (? for ATMega2560 etc.)
172void IRsend::sendPronto_PF(uint_farptr_t str, int_fast8_t aNumberOfRepeats) {
173 size_t len = strlen_PF(str);
174 char work[len + 1];
175 strcpy_PF(work, str); // We know that string including terminating character fits in work
176 sendPronto(work, aNumberOfRepeats);
177}
178
179//standard pointer
180void IRsend::sendPronto_P(const char *str, int_fast8_t aNumberOfRepeats) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected