View Single Post
  #4   Spotlight this post!  
Unread 23-06-2016, 17:13
Rangel(kf7fdb)'s Avatar
Rangel(kf7fdb) Rangel(kf7fdb) is offline
John Rangel
FRC #0842 (Falcon Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Phoenix, AZ
Posts: 710
Rangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond repute
Re: Problem: Pneumatics Not Firing

Could it be that your code is running in a way that it checks for button presses at a certain time in the main loop and it doesn't register if the button is pressed when the code is not checking for it? It's unlikely to be the problem based on you guys being unable to recreate the problem but something to check for.

Code:
// Sudo Code For Potential Problem
While (true)
  Code
  Code
  Delay         // Main reason button press gets missed
  Check for button press Code
  Code
  Code
End While
__________________
2011-2014 Arizona Regional Winners
2012 Dean's List Winner
2012-2013 Team President
2013 8th Place Robosub Competition
2014-? Mentor


Reply With Quote