Adafruit_NECremote.h doesn't compile on Due

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
drobnjak
 
Posts: 8
Joined: Sun Oct 14, 2012 4:58 pm

Adafruit_NECremote.h doesn't compile on Due

Post by drobnjak »

I just installed the libraries for Mini Remote Control and tried to compile for Arduino Due.

Unfortunatelly it had thrown compiling errors immediately. I tried compiling it for Arduino MEGA 2560 and it compiled OK. These were the errors:

C:\Users\...\Documents\Arduino\libraries\Adafruit_NECremote\Adafruit_NECremote.cpp: In constructor 'Adafruit_NECremote::Adafruit_NECremote(uint8_t)':
C:\Users\...\Documents\Arduino\libraries\Adafruit_NECremote\Adafruit_NECremote.cpp:26: error: invalid conversion from 'Pio* const' to 'uint8_t'
C:\Users\...\Documents\Arduino\libraries\Adafruit_NECremote\Adafruit_NECremote.cpp: In member function 'uint16_t Adafruit_NECremote::measurePulse(boolean)':
C:\Users\...\Documents\Arduino\libraries\Adafruit_NECremote\Adafruit_NECremote.cpp:114: error: base operand of '->' is not a pointer

Would it be possible to update libs, so they work with Due?

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: Adafruit_NECremote.h doesn't compile on Due

Post by Franklin97355 »

Would it be possible to update libs, so they work with Due?
That is being done as time allows. Since all the files are open source anyone can modify or port the files as they see fit. Perhaps someone will do that.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”