* 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.)
| 170 | */ |
| 171 | //far pointer (? for ATMega2560 etc.) |
| 172 | void 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 |
| 180 | void IRsend::sendPronto_P(const char *str, int_fast8_t aNumberOfRepeats) { |
nothing calls this directly
no outgoing calls
no test coverage detected