DigitalInput gyro class help

So I’m trying to create a DigitalInput gyro class, and have tried googling for any available open source libraries, seems not.

I believe I’m supposed to make my own Gyro class to extend the empty “Gyro” class. My team’s gyro only uses digital input, so… how exactly could I start off using the DigitalInput class to get values from the gyro and basically do what AnalogGyro does (calibrate, getAngle, reset, free, etc.) since it comes with those empty methods.

What is the part number of the gyro you are trying to use?

I’ve been confused on this. Just talked to others and seems like we know what we’re going to do now. The part was https://www.sparkfun.com/products/10121.

Anyways if I need more help I’ll post again here.

how are you handling hooking the 3.3 device up t a 5V roboRIO I2C? Are you using level shifters, or is it just working?

From the RoboRIO RIO User’s Manual, page 10, lower right cell of the table in the I2Csection:

d’oh! thanks.