Wiring Forum

All Forums => Programming Questions => Topic started by: mbrian on November 25, 2011, 09:14:25 PM

Title: I2c (wire) Error codes
Post by: mbrian on November 25, 2011, 09:14:25 PM
I am working on a project using I2C.  Where (and how) do I access the errors such as no device, hangup, timeout, Etc.
Title: Re: I2c (wire) Error codes
Post by: barragan on November 26, 2011, 06:49:32 PM
hi, please check the library code: https://github.com/WiringProject/Wiring/blob/master/framework/cores/AVR8Bit/libraries/Wire/utility/twi.c those are handled in this file.