A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/crankyoldgit/IRremoteESP8266/issues/1749 below:

IRsend::encodePioneer documentation might be misleading · Issue #1749 · crankyoldgit/IRremoteESP8266 · GitHub

Hi David,

thanks for this awesome library. I just tried it for the first time following the codes listed here and I'm super happy that my remote is working great.
Anyway, I had some issues on the way and thought I might leave a note.

A single code run as command works as expected:

irsend.sendPioneer(irsend.encodePioneer(0, command), 32, 1);

The docs in ir_Pioneer.cpp state

"A556+AF20" is an Address of 0xA556 & a Command of 0xAF20.

So I assumed the following call would be correct, but didn't work out:

irsend.sendPioneer(irsend.encodePioneer(address, command), 32, 1);

Running both codes as command in sequence does the trick:

        if (address) {
            irsend.sendPioneer(irsend.encodePioneer(0, address), 32, 1);
        }
        irsend.sendPioneer(irsend.encodePioneer(0, command), 32, 1);

So I think it's rather commandA + commandB?
Since I don't know anything about NEC I might have gotten something else completely wrong.

Keep up your great work. :)

Kind regards

Michael


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4