Skip to content

Commit

Permalink
AS5600 with fast mode
Browse files Browse the repository at this point in the history
  • Loading branch information
runger1101001 committed Aug 24, 2024
1 parent 5274eef commit 5ed156f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/encoders/as5600/MagneticSensorAS5600.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ void MagneticSensorAS5600::init(TwoWire* wire) {


float MagneticSensorAS5600::getSensorAngle() {
uint16_t raw = readRawAngle();
uint16_t raw = angle();
return raw / AS5600_CPR * _2PI;
};

0 comments on commit 5ed156f

Please sign in to comment.