adafruit/NEC-remote-control-library — Issue #1: listener example does not listen well
Author: ahdavidson
Created: 2012-02-12 02:21:42+00:00
State: open

Trying to use the library with the example listener program, I was unable to get it to report any codes from the NEC remote. All calls returned -1.

A discussion here -- http://forums.adafruit.com/viewtopic.php?f=8&t=22930 -- summarizes the issue. I used the fix reported by one poster in that thread with great success.

I also offer this keywords.txt file to include with the next release:

#######################################
# Syntax Coloring Map For NEC Remote
#######################################

#######################################
# Datatypes (KEYWORD1)
#######################################

NECremote	KEYWORD1

#######################################
# Methods and Functions (KEYWORD2)
#######################################

listen	KEYWORD2

#######################################
# Constants (LITERAL1)
#######################################