I2C scan writes 0 bytes #42603
Answered
by
henrikbrixandersen
andrei-edward-popa
asked this question in
General
-
Describe the bug |
Beta Was this translation helpful? Give feedback.
Answered by
henrikbrixandersen
Feb 9, 2022
Replies: 1 comment 3 replies
-
The reason for writing 0 bytes and checking for an ACK is that even writing one byte could be a destructive action (think for instance an I2C EEPROM, where writing one byte would change the change the contents of the EEPROM). |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
andrei-edward-popa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The reason for writing 0 bytes and checking for an ACK is that even writing one byte could be a destructive action (think for instance an I2C EEPROM, where writing one byte would change the change the contents of the EEPROM).