Go to Post After this trip, a person might want to change their underpants. - Andy Baker [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
  #3   Spotlight this post!  
Unread 01-02-2007, 09:35
SoD SoD is offline
Registered User
FRC #2230
 
Join Date: Jan 2007
Location: Israel
Posts: 15
SoD is an unknown quantity at this point
Re: Microswitch problem

Quote:
Originally Posted by Andrew Morris View Post
A few questions:
1. Do you have the digitalIO port you are using configured as an input?
2. What alias are you using to read the port(like rc_dig_in01)?

Basedd on your answers I should be able to tell you what is wrong.

Andrew
1. Yes
2. Yes, we are using rc_dig_in01. This is the code we tried.

if (rc_dig_in01 == 1)
{
relay1_fwd = 0;
relay1_rev = 0;
}
 


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
G.T.S ..... (problem) Ami Schwartz Programming 3 28-01-2006 17:01
A linking problem T Shap Programming 6 15-01-2006 00:23
Problem Hailfire CD Forum Support 7 06-10-2002 15:02
PROBLEM!!!!!!?????? Clark Gilbert CD Forum Support 9 02-12-2001 12:43


All times are GMT -5. The time now is 03:59.

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