|
How do I determine if NAKs are returned from the I2C bus? 02-03-04 00:05
Using I2C.NET, when communicating to the I2C bus, I need to determine if a NAK (not acknowledged) has returned, how do I test for this condition?
You will get an exception, if the API cannot transmit or receive all bytes due to a NACK. So add a try/catch block to your code. <- Back to: FAQ/Support |