Rev SparkMax versus SparkFlex class

In python, for the rev libraries, there is a rev.SparkMax and a rev.SparkFlex class. We have a robot with a SparkMax controller for the wheel motor, and a robot with a SparkFlex for the wheel motor.

Last year, we seemingly successfully used the SparkMax class to control the SparkFlex, sharing common code across both robots, not adding a special wrapper to use the SparkFlex class/driver.

Yesterday, we let the magic white (brown in this case) smoke out of a Vortex and/or SparkFlex.

We’re trying to run down the root cause of the failure. If possible.

Is it generally okay to use the SparkMax driver/class to to control a SparkFlex? Are there known problems when doing this?

@Jernovak38 @nathan_bui @yavin

1 Like

Well it certainly shouldn’t let out any smoke… Could you tell if it it the controller or the motor?