Browse Source
Many of our SPI and I2C sensors define the protocol of setting the most significant bit of the register address in order to perform a read operation. Thus, enable the use of a "read flag" that is ORed with the register's address. Since this is an abstraction for general devices, it's a good idea to have zero as the default value for that flag. While at it, add documentation to read_registers().master
1 changed files with 22 additions and 0 deletions
Loading…
Reference in new issue