#include <MagneticSensorI2C.h>
Definition at line 19 of file MagneticSensorI2C.h.
◆ MagneticSensorI2C() [1/2]
MagneticSensorI2C::MagneticSensorI2C |
( |
uint8_t |
_chip_address, |
|
|
int |
_bit_resolution, |
|
|
uint8_t |
_angle_register_msb, |
|
|
int |
_msb_bits_used |
|
) |
| |
MagneticSensorI2C class constructor
- Parameters
-
chip_address | I2C chip address |
bits | number of bits of the sensor resolution |
angle_register_msb | angle read register msb |
_bits_used_msb | number of used bits in msb |
Definition at line 25 of file MagneticSensorI2C.cpp.
◆ MagneticSensorI2C() [2/2]
◆ AS5600()
◆ checkBus()
int MagneticSensorI2C::checkBus |
( |
byte |
sda_pin = SDA , |
|
|
byte |
scl_pin = SCL |
|
) |
| |
◆ getAngle()
float MagneticSensorI2C::getAngle |
( |
| ) |
|
|
overridevirtual |
◆ getVelocity()
float MagneticSensorI2C::getVelocity |
( |
| ) |
|
|
overridevirtual |
◆ init()
void MagneticSensorI2C::init |
( |
TwoWire * |
_wire = &Wire | ) |
|
The documentation for this class was generated from the following files: