We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a275e5 commit 4258c12Copy full SHA for 4258c12
src/components/i2c/drivers/WipperSnapper_I2C_Driver_AS5600.h
@@ -96,6 +96,12 @@ class WipperSnapper_I2C_Driver_AS5600 : public WipperSnapper_I2C_Driver {
96
_as5600->setMaxAngle(4095);
97
}
98
99
+ /*******************************************************************************/
100
+ /*!
101
+ @brief Reads the Angle sensor.
102
+ @returns True if the sensor was read successfully, False otherwise.
103
+ */
104
105
bool readSensor() {
106
if (!_as5600->isMagnetDetected()) {
107
WS_DEBUG_PRINTLN("Magnet not detected!");
0 commit comments