Go to Post In this case, "non-thermal protected" would mean "future paper weights." - Rick TYler [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 02-02-2006, 09:17
TubaMorg TubaMorg is offline
Programmermechanicalelect ricalcoach
AKA: Dan
FRC #1480 (Robatos Locos)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Houston
Posts: 450
TubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond repute
Re: EasyC Timer and Gyro questions

Quote:
Originally Posted by BradAMiller
As you said in your other post, you can retrieve the raw yaw rate just polling the gyro analog port directly. It returns 12.5mv/deg/sec of rotation. The analog to digital converter returns a value from 0-1024 for the range of 0-5000mv. So by doing some arithmetic, you can create a function that returns the actual rate of rotation directly.


Can you try putting in a print statement when the timer is started and another when you are reading the timer just to verify that it is being started? Also, are you doing a Preset operation on the timer anywhere in your code that might be getting unintentionally executed repeatedly?
I will add a print statement for when the timer is started. I assume you mean to use a GetTimer right after initialization? Also there is no PresetTimer call in the code anywhere.
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
Accelerometer code ImmortalAres Programming 28 04-06-2005 01:02
Updated: Example Gyro Interface Code Kevin Watson Programming 2 28-03-2005 04:36
Example gyro code released. Kevin Watson Programming 60 17-03-2005 18:32
Gyro Calibration roboticsjenkins Programming 11 21-02-2005 20:39
Using gyro with other analog sensors...again demerski Programming 0 19-02-2005 08:23


All times are GMT -5. The time now is 14:04.

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