There are constructors that allow to set accelerometer and gyro ranges: new_with_sens and new_with_addr_and_sens. But an init method resets the ranges to AccelRange::G2 and GyroRange::D250: init
It looks strange for me as how I can understand init is required to be called. If it is true then the constructors do not make sense at all.
There are constructors that allow to set accelerometer and gyro ranges:
new_with_sens
andnew_with_addr_and_sens
. But aninit
method resets the ranges toAccelRange::G2
andGyroRange::D250
: initIt looks strange for me as how I can understand
init
is required to be called. If it is true then the constructors do not make sense at all.