Trouble with SparkMax libraries

Hello, I am a noob and am having trouble importing the library for the SparkMaxes. When I attempt to install it online in vscode, the application says that it is already installed. However, when I try to import it, the application claims that the SparkMax class does not exist. This is probably a stupid question, sorry…

The error is because there is no SparkMax class. If you are using the Spark Max via CAN, the class is CANSparkMax. If via PWM, last I checked you should use the regular Spark class.

Thank you so much

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.