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
}


yes.  or this...

if ( door1 && door2 && door3 )


Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > multiple conditions


arduino

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums