write adress binary I2C
Posted: Tue Sep 21, 2021 1:02 pm
Hi,
how to write the addresses in one go? I use a nucleoF411RE
Thank you
how to write the addresses in one go? I use a nucleoF411RE
Code: Select all
AD0 = Pin('PA0', Pin.OUT)
AD1 = Pin('PA1', Pin.OUT)
AD2 = Pin('PA4', Pin.OUT)
Code: Select all
AD2 AD1 AD0 Sequence I2C
0 0 0 0100 0000
0 0 1 0100 0010
0 1 0 0100 0100
| | | |
| | | |
| | | |
| | | |
| | | |
1 1 1 0100 1110