chore(as5600): doxygen for readSensor
This commit is contained in:
parent
7a275e5d02
commit
4258c12206
1 changed files with 6 additions and 0 deletions
|
|
@ -96,6 +96,12 @@ public:
|
|||
_as5600->setMaxAngle(4095);
|
||||
}
|
||||
|
||||
/*******************************************************************************/
|
||||
/*!
|
||||
@brief Reads the Angle sensor.
|
||||
@returns True if the sensor was read successfully, False otherwise.
|
||||
*/
|
||||
/*******************************************************************************/
|
||||
bool readSensor() {
|
||||
if (!_as5600->isMagnetDetected()) {
|
||||
WS_DEBUG_PRINTLN("Magnet not detected!");
|
||||
|
|
|
|||
Loading…
Reference in a new issue