Skip to content

I2C scan writes 0 bytes #42603

Discussion options

You must be logged in to vote

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).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@andrei-edward-popa
Comment options

@henrikbrixandersen
Comment options

@andrei-edward-popa
Comment options

Answer selected by andrei-edward-popa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
Converted from issue

This discussion was converted from issue #42602 on February 08, 2022 17:29.