Go to Post OOO-GAH! OOOO-GAH! GRACIOUS PROFESSIONALISM ALERT! - Billfred [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
  #7   Spotlight this post!  
Unread 12-03-2008, 11:09
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Inverting the direction of a Motor

PHP Code:
pwm01 p2_y;
pwm02 = ~p2_y
This flips all of the bits, so realistically it does the same as (255-p2_y).

Last edited by Tom Bottiglieri : 12-03-2008 at 11:15.
 


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
CIM Motor Bias Direction jonboy Motors 1 28-01-2008 07:58
Ideas to move in the direction of making FIRST competitions 'fair' KenWittlief General Forum 93 07-11-2006 23:19
Conserving Energy: Stepping in the Right Direction? thegathering Chit-Chat 5 14-09-2006 14:49
Optimal Direction of the Drill and Chips mzitz2k Motors 17 06-02-2004 16:54
Motor Spin Direction archiver 2000 6 23-06-2002 23:43


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

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