View Single Post
  #7   Spotlight this post!  
Unread 01-02-2017, 20:30
Adnewhouse's Avatar
Adnewhouse Adnewhouse is online now
Registered User
FRC #0639
Team Role: College Student
 
Join Date: Jun 2013
Rookie Year: 2012
Location: Ithaca, NY
Posts: 21
Adnewhouse is an unknown quantity at this point
Re: Novice Coder Help

If the LED's are blinking, you might have the limit switch settings configured wrong or the PWM connection is not hooked up correctly. You should check the cable orientation and read the manual to match the blink code to the operating state of your Spark. It will also tell you how to make sure the limit switch configuration is correct in the manual. Other than the issue with the isOpen variable, your code looks correct. (Keeping in mind I'm not familiar with Java wpilib stuff)
Reply With Quote