Go to Post FRC is a game of mentors. The best teams are guided by mentors who know how to balance on the knife edge of pushing the envelope and achieving success. - Mr. Van [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Spotlight this post!  
Unread 29-10-2012, 16:57
TeraViks's Avatar
TeraViks TeraViks is offline
Registered User
AKA: Brian Induni
FRC #3145 (TeraViks)
Team Role: Coach
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Hayden, Idaho
Posts: 33
TeraViks is a jewel in the roughTeraViks is a jewel in the roughTeraViks is a jewel in the roughTeraViks is a jewel in the rough
Re: Interrupts vs. Polling

Thanks to all who answered Adam's question! I'd like to ask a follow on if I could -

I think we understand the difference between Polling and Interrupt, but HOW are these two methods manifested with the program?? We lost our programming mentor and the previous lead was a senior, so we are really having a tough time getting up to speed with troubleshooting last years bot and developing new code.

Adam's initial question comes from assumptions we made in a team meeting about why a motor with a limit switch sometimes behaves properly, sometimes it ignores the limit witch and keeps going. This motor drives a plunger that pushes a ball into the spinner shooter wheels. Sometimes it makes one cycle and stops when the limit switch is activated, sometimes it keeps going on its cycle and doesn't react to the limit switch. We want to try slowing down the cycle to see that makes a difference, and also want to look at the time the switch is polled. Where would that be within the program??

Thanks again for the help!
__________________
Brian
FIRST team 3145 (notice I'm doing Dean's homework!)
The TeraViks
Coeur d'Alene, Idaho
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 20:11.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi