View Single Post
  #1   Spotlight this post!  
Unread 04-02-2007, 06:11
HellBoy HellBoy is offline
Registered User
FTC #2230
 
Join Date: Jan 2007
Location: Israel
Posts: 7
HellBoy is an unknown quantity at this point
why does aux1 doesn't work?

Here is the code and from some reason doesn't work.
Code:
if(p1_sw_aux1==1)
{
g=1;
}
if(g==1)
{
z++;
}
if((z<=30)&&(a==1))
{
relay1_fwd=1;
}
else
a=0;