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?
Adafruit_NECremote.h doesn't compile on Due
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23910
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Adafruit_NECremote.h doesn't compile on 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.Would it be possible to update libs, so they work with Due?
Please be positive and constructive with your questions and comments.