Go to Post To the best engineers, scientists, and thinkers, something that is "hard" isn't something to avoid; it is something that begs for us to prove that we can do it. STEM is built on the very idea of trying something, failing, and trying something different. - Bryan Herbst [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-02-2005, 03:09
Leav's Avatar
Leav Leav is offline
Spud Gun Division
AKA: Leav Oz-Ari
FRC #3316 (D-Bug)
Team Role: Mentor
 
Join Date: Dec 2004
Rookie Year: 2005
Location: Technion, Haifa, Israel
Posts: 774
Leav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond repute
Send a message via ICQ to Leav Send a message via AIM to Leav Send a message via MSN to Leav
Using Interrupts

I'm having problems using interupts...

i don't understand them....

i have read the manual from IFI, and read kevin's code, but i still can't really get how is should use them.....

could someone please post a bit of code showing how to use kevin's interrupts?

Thanks!
-Leav
__________________
"We choose to build robots this season and do the other things; Not because they are easy, but because they are hard."
-Paraphrasing JFK

Participated in FIRST as a student: 2005-2006 (But still learning every season!)
Mentor: 2008 - ? (Team 2630 2008-2011, and Team 3316 since 2013)
Engineer: 2011 - ? (B.Sc. and M.Sc. in Mech. Eng. from the Technion IIT)
FIRST Volunteer - 2007 - ? (MC, FTA, FIRST Aid etc.)
  #2   Spotlight this post!  
Unread 14-02-2005, 07:22
stephenthe1 stephenthe1 is offline
Registered User
#1008
 
Join Date: Dec 2004
Location: Ohio
Posts: 113
stephenthe1 is on a distinguished road
Re: Using Interrupts

hi,
what do you need the interrupts for? usually encoders. if so, take a look at Mr. Watson's encoder template. It has interrupts already set up for left and right drives. all you have to do is call the functions. also, take a look here. this is where I was utterly confused about encoders.

http://www.chiefdelphi.com/forums/sh...hlight=encoder
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Processing pre-set Interrupts Tom Bottiglieri Programming 1 13-02-2005 15:41
Interrupts and Script Conundrums Jon236 Programming 2 08-02-2005 23:01
White Paper Discuss: Interrupts for Dummies CD47-Bot Extra Discussion 5 29-01-2005 03:24
FYI about using PWM 13-16 with interrupts cabbagekid2 Programming 6 22-01-2005 00:54
Problem with interrupts on the PIC Mike Betts Programming 7 16-12-2003 21:26


All times are GMT -5. The time now is 09:26.

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