I think I need some guidance here..I have update all I could boards, arduino,etc. but still if I try to use the SetClockStretchLimit is defined inWire.h my B4R won't complile.
after the upgrade I found the wire.h which included the SetClockStretchLimit under:
C:\Users\105028248.LOGON\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\libraries\Wire
but the one under
C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src
was still showing the version of Wire.h without the SetClockStretchLimit (probably an old version). I have also tried to delete the old ones in avr\libraries\wire\src and replace with the wire.h and wire.cpp from esp8266 but still B4R fails to compile if I leave
#if C
#include <Wire.h>
void setClockStretchLimit(B4R::Object* o)
{
Wire.setClockStretchLimit(o->toULong());
}
#end if
Any clue?