andrewrapp / xbee-arduino

Arduino library for communicating with XBee radios in API mode
GNU General Public License v2.0
334 stars 162 forks source link

Cannot compile with Uno WiFi Rev 2 #86

Open ChuckBell opened 4 years ago

ChuckBell commented 4 years ago

Hi. I am getting compilation errors when compiling for the Uno WiFi Rev 2 board:

Printers.cpp:102:51: error: no matching function for call to 'printHex(Print&, uint8_t [4], unsigned int, const char [2], NULL)' printHex(*p, header, sizeof(header), F(" "), NULL); ^ I had to change:

include "HardwareSerial.h"

to

include "api/HardwareSerial.h"

But then this error (and many more like it popped up). It appears like this is a problem with flash memory as something has changed with the Uno WiFi Rev 2.

Any suggestions?