View Single Post
  #7   Spotlight this post!  
Unread 22-02-2010, 18:34
mikeppalmer mikeppalmer is offline
Registered User
FRC #1798
 
Join Date: Dec 2007
Location: Tucson, Arizona
Posts: 3
mikeppalmer is an unknown quantity at this point
Re: Using Interrupts or DMA or timing to control digital I/O switch

Hi Everyone,

Thanks for your advice. I have tried the counter example and it is working.. But we mainly care about the Digital I/O get value.. Which is working. I have added screen shots of our code to help you gauge what we are doing.

We are also expanding the hole or the "window" persay of the light. Maybe if we expand this window, the motor will stop within the window. This routine should be very simple..

If you have any other ideas, please feel free to share. Thanks again!
Attached Thumbnails
Click image for larger version

Name:	working firing routine.JPG
Views:	20
Size:	86.4 KB
ID:	8768  Click image for larger version

Name:	reposition motor.JPG
Views:	14
Size:	107.4 KB
ID:	8769  Click image for larger version

Name:	backlash correction.JPG
Views:	15
Size:	108.8 KB
ID:	8770  
Attached Files
File Type: zip 2-20 new support.zip (276.2 KB, 4 views)
Reply With Quote