Thread
:
How to program Talon SRX Encoders?
View Single Post
#
2
08-03-2016, 21:48
BenBernard
Registered User
FRC #5687 (The Outliers)
Team Role: Mentor
Join Date: Jan 2016
Rookie Year: 2015
Location: Portland, ME
Posts: 37
Re: How to program Talon SRX Encoders?
I assume the error you are getting is when you call enc.start(), since you are never initializing the enc variable. You declare it up top at:
Code:
Encoder enc;
You also need to initialize it, similarly to how you have initialized your Talon and CANTalon variables.
BenBernard
View Public Profile
Find all posts by BenBernard
Find CD-Media Photos by BenBernard
Find CD-Media Papers by BenBernard