Arduino-IRremote error: Use of decode(decode_results *aResults) is deprecated! Use decode() instead!

Arduino-IRremote error: Use of decode(decode_results *aResults) is deprecated! Use decode() instead!

Ganteng Permanen

3 года назад

11,917 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@austindilip7971
@austindilip7971 - 31.05.2021 18:05

Sir I typed the program as given in the description box. But I got an error saying that IRrecv does not name a type. Can you help me out

Ответить
@nikodemkarcz310
@nikodemkarcz310 - 09.04.2021 10:18

What should i do in switch() except results.value???
Please I need your help

Ответить
@victormgt
@victormgt - 27.03.2021 00:37

Thanks you, but, I only received five zeros, Do you have any idea about that?

Ответить
@giannissotiropoulos3721
@giannissotiropoulos3721 - 25.03.2021 02:20

hello, thank you so much for your help i was struggling for days..but i do have another problem when i press for example on-off button i get two different results 4C and 84C and also in every different button i tried i am getting two different results something and something with the 8 as the first digit..I am always getting two results for every button and one of them is with the 8 as a first digit..any ideas?
thank you in advance

Ответить
@Alaa_GDM
@Alaa_GDM - 20.03.2021 00:17

I have a problem when I press any bottons it gives me a zero I use ir 1838 with arduino mega

Ответить
@jimba6486
@jimba6486 - 04.03.2021 13:47

Thank you. It finally worked after months.
Does anyone know why my serial prints the result twice.
I copy and pasted the code. At first it printed 5 times. I added a 500 delay at the end, now it prints twice.
Adding a larger delay doesn't reduce it to one time.

Ответить
@Allenzhong
@Allenzhong - 01.03.2021 06:08

thank you buddy, it works.

Ответить
@ahgrigor2453
@ahgrigor2453 - 20.02.2021 05:08

the serial port just displays 0's whenever I click the remote instead of the hex value

Ответить
@ungnhanvaoprofilecuatoi2191
@ungnhanvaoprofilecuatoi2191 - 16.02.2021 15:05

The function decode(&results)) is deprecated and may not work as expected! Just use decode() - without any parameter.

Ответить
@masterkit9517
@masterkit9517 - 14.02.2021 16:46

Для русских, работает только версия 2.8.0, остальные версии кривые и глючные до ужаса, и без фикса на видео ничего не заработает.

Ответить
@masterkit9517
@masterkit9517 - 14.02.2021 16:42

Fantastic!!! only 2.8.0 library work correctly, and you fix very super! thank you fantastic video!!! Very help for me!

Ответить
@showcase-me
@showcase-me - 05.02.2021 17:43

thaaaankk youuuu!!!

Ответить
@aquilanera9118
@aquilanera9118 - 05.02.2021 16:51

That's the solution, thank you !

Ответить
@taher1973
@taher1973 - 03.02.2021 04:36

Thank you. This saved me a lot of time
how to fix 0 (zero) result:
reinstall/restore/revert IRremote library to version 2.8.0

Ответить
@indirim.zamani
@indirim.zamani - 31.01.2021 18:43

bende 0 veriyor kod sürekli nedendir

Ответить
@ProxyDev
@ProxyDev - 30.01.2021 13:26

Cant you put a txt file in description

Ответить
@Caturra86
@Caturra86 - 28.01.2021 14:19

Same here, only zero values...

Ответить
@manueledeambrosi12
@manueledeambrosi12 - 28.01.2021 00:05

Hi, I'm trying to decode the keys of a remote control; I followed your video and solved this problem ... but I don't understand why in the serial monitor it gives me only zeros and not the code of each key. Could you help me? Thank you, I await your reply :-)

Ответить
@LordPainti
@LordPainti - 27.01.2021 23:18

doesn't work for me. serial monitor show only 0 if i push a button

Ответить
@dilanfaiz6429
@dilanfaiz6429 - 26.01.2021 06:15

Thank you so much

Ответить
@RedScythe29
@RedScythe29 - 15.01.2021 15:32

thank you so much. i appreciated it cuz it worked

Ответить