Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds outline of the I2C sensor driver. * Adds register read and write commands. * Adds a demo class for the magnetic sensor. * Adds conversions to the demo. * Decrease sensitivity. * Adds register modify and sets up angular rotation decoding. * Adds APIs for offset and gain correction. Adds API for determining whether the device exists. Adds return error for the register read command. * Reads the device ID as well in the demo code. * Add address enumeration. * Add alternative constructor and destructor which closes the open file reference if applicable. * Add friend class for testing. This should eventually be removed. * Enhance TMAG5273 driver to have a cleaner public interface. * Fix TMAG5273Demo build. * Add comment. * Address review comments. --------- Co-authored-by: Balazs Racz <[email protected]>
- Loading branch information