The LPR530AL is a 2 axis gyro that can measure rotations up to 1200 degrees per second in the x and y axes.
Requires 2 ADC channels.
Note that the device requires a 3.3v supply.
The device can measure fast rotations up to 1200 degrees per second; or slower rotation up to 300 degrees per second with greater accuracy. The device provides different output pins for the fast or slow options.
To create the device use:-
LPR530AL lpr = MAKE_LPR530AL(ADC0, ADC1, TRUE);
Where the last parameter is TRUE for the slower output, or FALSE for the faster output.
Don't forget that you should initialise the device in appInitHardware:-
You can read the device by using:
and then the results are in:-