View Single Post
  #2   Spotlight this post!  
Unread 08-03-2016, 21:48
BenBernard BenBernard is offline
Registered User
FRC #5687 (The Outliers)
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Portland, ME
Posts: 37
BenBernard is an unknown quantity at this point
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.
Reply With Quote