

I am using last relase Arduino IDE 1.8.5.

I know it is possible to modify twi.h file to add timeout function but I do not like to modify standard library. Why I can not include WSWireLib in my project and is there any better solution to fix Wire hang problem_ I have cut off rest off messages since it's all similar. (.text+0x0): multiple definition of `_vector_24'Ĭollect2.exe: error: ld returned 1 exit statusĮrror compiling for board Arduino Pro or Pro Mini. (.text+0x0): multiple definition of `twi_releaseBus' Libraries\Wire\utility\twi.c.o (symbol from plugin): In function `twi_readFrom': Libraries\WSWireLib-master\utility\twi.c.o (symbol from plugin):(.text+0x0): first defined here

Libraries\WSWireLib-master\ (symbol from plugin):(.text+0x0): first defined here (.text+0x0): multiple definition of `TwoWire::available()' Libraries\Wire\ (symbol from plugin): In function `TwoWire::available()': Known problem is that Arduino Wire library can hang if SCL or SDA line is held low by any reason.īy reading forums I have found WSWire library may be solution but I do not know how to include it since I get conflict when I try to include WSWire.h instead of Wire.h in my code.Įven simple code like this fail to compile. I have searched around web to solve this issue but had no luck.
