Go to Post The obvious solution is to only allow the real world to have negative jade induction coefficients. - EricVanWyk [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 15-02-2008, 23:48
Sam390250's Avatar
Sam390250 Sam390250 is offline
Positively Charged
FRC #0930 (Mukwonago B.E.A.R.s)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Mukwonago, WI
Posts: 68
Sam390250 is a splendid one to beholdSam390250 is a splendid one to beholdSam390250 is a splendid one to beholdSam390250 is a splendid one to beholdSam390250 is a splendid one to beholdSam390250 is a splendid one to behold
Send a message via AIM to Sam390250
MPLAB Interrupt Issues

We are a rookie team this year and have been told that doing interrupts in MPLAB is a very bad thing. We were hoping to use one so we could use two gear tooth sensors on our two tank-driving wheels during autonomous mode. We hoped to be able to count up the amount of teeth we see until it gets to a certain number and then move to the next part of the code. Would this be a bad idea? If so, what else would be able to use if we wanted to tell the robot to go so many rotations? If not, where would we find good information about interrupts?

Thanks For Your Time!
  #2   Spotlight this post!  
Unread 16-02-2008, 01:49
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: MPLAB Interrupt Issues

Interrupts are your friend

See Kevin Watson's website (http://kevin.org/frc/) for well commented examples of encoder usage.
His 2008 example code has encoder support built-in.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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
IR Issues in Mplab drewjones13 Programming 3 18-01-2008 19:36
MpLab issues! AdmiralAllen Programming 3 15-01-2007 22:47
MPLAB Issues jcatt Programming 3 02-02-2006 17:49
Issues with MPLAB 7.30 gnirts Programming 4 25-01-2006 22:57
using the MPLAB IDE MPLAB SIM simulator WizardOfAz Programming 1 03-11-2003 01:24


All times are GMT -5. The time now is 01:00.

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