@ Webdesigner (Gast)
>Wissen Sie zufällig wie dies beim MPU6050 funktioniert?
Da muss ich, ebenso wie du, ins Datenblatt schauen ;-)
"To write the internal MPU-60X0 registers, the master transmits the
start condition (S), followed by the I2C address and the write bit (0).
At the 9th clock cycle (when the clock is high), the MPU-60X0
acknowledges the
transfer. Then the master puts the register address (RA) on the bus.
After the MPU-60X0 acknowledges the reception of the register address,
the master puts the register data onto the bus. This is followed by the
ACK
signal, and data transfer may be concluded by the stop condition (P). To
write multiple bytes after the last ACK signal, the master can continue
outputting data rather than transmitting a stop signal. In this case,
the
MPU-60X0 automatically increments the register address and loads the
data to the appropriate register. The following figures show single and
two-byte write sequences."
Das mit dem lesen steht auch drin, das findest du selber.