mirror of https://github.com/sebmillet/RF433any
Fixes a minor issue on example number 2
- The data content was not displayed (only the signal timings). This has been fixed.
This commit is contained in:
parent
5679085923
commit
d3223ec490
|
@ -52,7 +52,7 @@ for high signal, underscore for low radio signal):
|
|||
|
||||
The decoder tries to be as flexible as possible to decode any protocols,
|
||||
without pre-knowledge about signal timings. To be generic enough, only the
|
||||
_relationships_ between timings is analyzed, to deduct the 'short' and 'long'
|
||||
_relationships_ between timings are analyzed, to deduct the 'short' and 'long'
|
||||
duration on 'low' and 'high' radio frequence signal value. No pre-defined
|
||||
timing is used.
|
||||
|
||||
|
|
|
@ -105,16 +105,14 @@ void loop() {
|
|||
pdec->get_nb_errors(), pdec->get_id_letter(),
|
||||
pdec->get_repeats() + 1, nb_bits);
|
||||
|
||||
if (pdec->data_got_decoded()) {
|
||||
if (pdata) {
|
||||
Serial.print(", data: ");
|
||||
if (pdata) {
|
||||
char *buf = pdata->to_str();
|
||||
if (buf) {
|
||||
Serial.print(buf);
|
||||
free(buf);
|
||||
}
|
||||
delete pdata;
|
||||
char *buf = pdata->to_str();
|
||||
if (buf) {
|
||||
Serial.print(buf);
|
||||
free(buf);
|
||||
}
|
||||
delete pdata;
|
||||
}
|
||||
Serial.print("\n");
|
||||
output_timings(pdec);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name=RF433any
|
||||
version=0.5.2
|
||||
version=0.5.3
|
||||
author=Sébastien Millet
|
||||
maintainer=Sébastien Millet <milletseb@laposte.net>
|
||||
sentence=A library to decode any protocol received on a 433 Mhz Radio Frequencies receiver
|
||||
|
|
Loading…
Reference in New Issue