View Single Post
  #1   Spotlight this post!  
Unread 30-01-2016, 14:40
zDrakon zDrakon is offline
Registered User
FRC #3501
 
Join Date: Feb 2015
Location: Sunnyvale
Posts: 10
zDrakon is an unknown quantity at this point
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.