|
i2c gyro
the electrical team got a shiny new i2c gyro, just one problem.... i need the angular displacement and not the angular rate that it provides.
I understand the concept of integrating it with respect to time to get the angular displacement but this creates another problem.
The KOP gyro does this in the code is through an accumulator hooked up to analog channel one and i can't find a way to hook up an i2c input to the same kind of accumulator.
Is there a relatively easy way to do this to an i2c gyro or should I start working out a different way to do this?
|