You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doing initial tests and had problem with twi.h when compiling. Resolved error by replaced changing code in BaseI2CDevice to:
extern "C" {
if ( ARDUINO == 10608 )
//#include "../../hardware/arduino/avr/libraries/Wire/src/utility/twi.h"
//above code throws error - below allows to compile - absolute addressing is a problem for libraries
include "utility/twi.h"
elif ( ARDUINO == 10605 )
include "../../hardware/arduino/avr/libraries/Wire/utility/twi.h"
Doing initial tests and had problem with twi.h when compiling. Resolved error by replaced changing code in BaseI2CDevice to:
extern "C" {
if ( ARDUINO == 10608 )
//#include "../../hardware/arduino/avr/libraries/Wire/src/utility/twi.h"
//above code throws error - below allows to compile - absolute addressing is a problem for libraries
include "utility/twi.h"
elif ( ARDUINO == 10605 )
include "../../hardware/arduino/avr/libraries/Wire/utility/twi.h"
else
uint8_t twi_writeTo(uint8_t, uint8_t*, uint8_t, uint8_t, uint8_t);
endif
}
Not sure if this problem exists in other code - will check when I do more testing.
The text was updated successfully, but these errors were encountered: