Quote:
Originally Posted by Andrew Morris
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;
}