multiple conditions
i curious, have controller needs @ status of 3 inputs give me go or no go.
i planning nest if statements, looking @ if statements using && operator.
can like:
if(door1 == high && door2 == high && door3 ==high)
{
go this
}
i planning nest if statements, looking @ if statements using && operator.
can like:
if(door1 == high && door2 == high && door3 ==high)
{
go this
}
yes. or this...
if ( door1 && door2 && door3 )
Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > multiple conditions
arduino
Comments
Post a Comment