petoi-camp-logo.png
Chinese
ZH
Chinese
ZH
English
EN
  • 主页

  • 论坛

  • Shop

  • 简介

  • 图鉴

  • 资源

    • Documentation Center
    • GitHub 源代码
    • 教程视频
    • NyBoard V0_1 手册
    • NyBoard V0_2 手册
    • Smartphone App
    • GitHub/CatMini
  • 社区

    • 成员
  • More

    Use tab to navigate through the menu items.
    Rafael Marín
    24h

    Error moving joints simultaneously in Mobile app

    2
    0
    Tomi Ade
    4d

    Trouble Uploading to Nyboard - stk500_recv(): programmer is not responding

    3
    0
    Phillip Brush
    6d

    On Definition Rule Issues

    4
    0
    若要查看作用方式,請前往您的即時網站。
    • 類別
    • 所有文章
    • 我的文章
    adennin
    2019年6月08日

    IR Remote

    在 Software

    How do you set up the IR remote? Mine doesn't seem to be working...

    6 則留言
    0
    6 則留言
    R
    Rongzhong Li
    2021年3月04日

    So you disabled the Decode_hash then reactivated it. And things worked like magic? Interesting, I don't know what's happening😅

    按讚

    John Winiger
    2021年3月04日

    I was having a similar problem and tried different thing and seem to have it working better. I am not sure if there is a reason behind this or just dumb luck but thought I would share, so try this:


    Go into the IRremote.h file and change Decode_Hash to 0

    Now try test testifraredremote

    Bring up the monitor and go through the buttons


    When I did this I no longer got the other button with the number string but rather the proper responses, the problem was I now got a lot of "repeat"


    After doing this I went back and changed Decode_hash back to 1


    Now in the monitor things seemed to work!


    Give it a shot and let me know if it works for you...

    按讚

    J
    John Gallaugher
    2021年3月01日

    OK, I think I understand how to edit IRremote.h

    Here is a GitHub gist showing the edited code:


    gist.github.com
    IRremote.h
    IRremote.h. GitHub Gist: instantly share code, notes, and snippets.

    But when I run testInfraredRemote.ino, I get different results when clicking the 21 buttons, left to right, from upper left (CH-) through lower right (9). For example, after quitting & re-running testInfraredRemote.ino, I get these results when I press those buttons in the order mentioned:

    a⸮IR Receiver Button Decode

    other button E318261B

    other button 511DBB

    other button EE886D7F

    other button 52A3D41F

    other button D7E84B1B

    other button 20FE4DBB

    other button F076C13B

    other button A3C8EDDB

    other button E5CFBD7F

    other button C101E57B

    other button 97483BFB

    other button F0C41643

    other button 9716BE3F

    other button 3D9AE3F7

    other button 6182021B

    other button 8C22657B

    other button 488F3CBB

    other button 449E79F

    other button 32C6FDF7

    other button 1BC0157B

    other button 3EC3FC1B


    Then if I quit completely out of the IDE & re-run testInfraredRemote.ino I get:

    ⸮iIR Receiver Button Decode

    other button E318261B

    other button 511DBB

    other button EE886D7F

    other button 52A3D41F

    other button D7E84B1B

    RIGHT

    other button F076C13B

    REVERSE

    other button E5CFBD7F

    other button C101E57B

    other button 97483BFB

    other button F0C41643

    4

    5

    other button 6182021B

    other button 8C22657B

    other button 488F3CBB

    other button 449E79F

    other button 32C6FDF7

    0

    #


    按讚

    R
    Rongzhong Li
    2021年3月01日

    You need to install version 2.6.1 of the library, as mentioned in the manual.

    https://bittle.petoi.com/4-configuration#4-2-1-install-through-the-library-manager

    按讚

    J
    John Gallaugher
    2021年2月28日