All Forums > Programming Questions

I2c (wire) Error codes

(1/1)

mbrian:
I am working on a project using I2C.  Where (and how) do I access the errors such as no device, hangup, timeout, Etc.

barragan:
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.

Navigation

[0] Message Index

Go to full version