Page cover

EasySpark Config

Constructors

ID, Name, EasySparkControllerInfo
(WPI) DutyCycleEncoder
(CTRE) CANcoder

Takes an int, String, and EasySparkControllerInfo for the Config object. This is used to create an EasySpark object.

This can be added at the end of the contructor parameters. Adds a DutyCycleEncoder object inside of the EasySpark object that will be used by default for its functions.

This can be added at the end of the contructor parameters. Adds a CANcoder object inside of the EasySpark object that will be used by default for its functions.

Last updated