Go to Post Admiration is universal, it does not exclude those who have achieved past success. - hg273 [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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
  #2   Spotlight this post!  
Unread 28-01-2008, 18:15
kaszeta's Avatar
kaszeta kaszeta is offline
Registered User
FRC #0095 (Grasshoppers)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Lebanon, NH
Posts: 334
kaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of light
Re: Timers and MPLab

Quote:
Originally Posted by joshyboy9987 View Post
So, this is my first year using MPLab instead of EasyC and I was wondering if there was a way to access a hardware timer at all. I know it can be done, cuz EasyC has a function to do it, but I couldn't find anything on the forums.
It's relatively easy. Which version of the code are you using (Kevin's new code, or the 2007 default code)?

The basics are in http://www.ifirobotics.com/docs/time...004-jan-14.pdf

But basically you setup the timer, create an ISR that updates some timer variables, and a set of functions that let you read the timer values.
 


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
A warning regarding MPLAB and find/replace Tom Line Programming 0 24-01-2008 17:35
Timers and Such Inverted Programming 5 19-02-2007 16:08
MPLAB Help, programming and compiling RedOctober Programming 2 23-12-2005 17:46
IFI Loader and MPLAB HolyOne207 Programming 5 14-01-2005 14:19
using the MPLAB IDE MPLAB SIM simulator WizardOfAz Programming 1 03-11-2003 01:24


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

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