Hello,
I have several issues with wire lib for atmega 1284p, hangs every time, any help?
Regards
Does it work with Arduino IDE?
Hello, yes pretty good
Could you provide project example to reproduce this issue?
Could you also check and post the avr-gcc compilers in both the cases. I think that the compiler bundled with the arduino idea is of a older version and that with the platformio idea is 4.9 or greater. There was a similar issue On the forums.
Hi, Its a simple scketch.
Wire.begin();
Wire.beginTransmission(mcpAddress);//0x20
Wire.write(0x13);
Wire.write(0x00);
delay(10);
Wire.endTransmission();
delay(10);
Try to replace line in platformio.ini
from
platform = atmelavr
to
platform = atmelavr@1.1.0