Go to Post Any mentor worthy of a WFFA would be delighted to see one of their fellow mentors receive the award. - dtengineering [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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
  #4   Spotlight this post!  
Unread 01-03-2002, 18:01
GhettoTech GhettoTech is offline
Registered User
#0300 (Ghetto Techs)
 
Join Date: Feb 2002
Location: Philadelphia
Posts: 21
GhettoTech is an unknown quantity at this point
Send a message via AIM to GhettoTech
Quote:
if p1_sw_trig = 1 then PWM12 = 150
Just a little note. That won't work in PBasic. PBasic's If/Then statemtents include an automatic "Goto."

If p1_sw_trig = 1 then (Goto) is implied



If p1_sw_trig = 0 then skip:
PWM12 = 150
skip:

that would be one way to work around that problem. (Similar to how the PWM limit switches are programed)
 


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
serious problem found - robot controller resets when jarred! KenWittlief Electrical 23 19-03-2003 13:30
How do you connect the speed controller fans? Iain Electrical 7 31-01-2003 07:05
Speed controller fan replacement Rickertsen2 Electrical 11 16-01-2003 08:46
Speed Controller Limits yaman Technical Discussion 11 15-01-2003 18:40
Ugh...PWM pin vs. Speed Controller archiver 2001 1 24-06-2002 00:27


All times are GMT -5. The time now is 08:38.

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