Go to Post Dave doesn't predict the future. He creates it. - Alan Anderson [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 26-02-2005, 23:23
Gary Bonner Gary Bonner is offline
Registered User
FRC #3974
 
Join Date: Jan 2002
Rookie Year: 2000
Location: PA
Posts: 115
Gary Bonner has a spectacular aura aboutGary Bonner has a spectacular aura about
Which is faster?

Code:
if p1_y > 125
	Pwm1_green = 1;
else
	Pwm1_green = 0;
or

Code:
Pwm1_green = p1_y / 126;
 


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
coupling Bosch & Atwood motors caffel Motors 10 28-05-2003 16:00
How Do I Program My RC To Spot One wheel From Going faster than the other Kyle1010 Programming 5 12-01-2003 15:30
Robot Speeds - Opinions sought archiver 2000 31 23-06-2002 23:04


All times are GMT -5. The time now is 10:17.

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