Skip to content
Discussion options

You must be logged in to vote

A delay should be between the first and second read, e.g.:

while True:
    i2c.readfrom(address, READ_REG, 0)
    time.sleep_ms(10)
    data = i2c.readfrom_mem(address, READ_REG, 2)
    print(force_data(data))
    time.sleep(1)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Kibstar
Comment options

@robert-hh
Comment options

Answer selected by Kibstar
@Kibstar
Comment options

@robert-hh
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants