APPREHENDING MICROCONTROLLER PLATFORM AND SOFTWARE Flashcards
one of the most important statement in programming.
IF- ELSE Conditional statements
It gives you the ability to control the flow of your program, letting it make decisions on what statement to execute.
IF- ELSE Conditional statements
often called as tactile switch
pushbuttons
momentary switches that are capable of turning any electronic
device to either on or off state.
pushbuttons
Equal to
A is equal to B
==
A==B
Not equal to
A is not equal to B
!=
A!=B
Less than
A is less than B
<
A<B
greater than
A is greater than B
> A>B
less than or equal to
A is less than or equal to B
<=
A<=B
greater than or equal to
A is greater than or equal to B
> =
A>=B
Only true if BOTH operands are true
Syntax: &&
Operator: Logical AND
True if EITHER of the operand is true
Syntax: ||
Operator: Logical OR
True if the operand is false
Syntax: !
Operator: Logical NOT
Comparison Operators
equal to, not equal to, less than, greater than, less than or equal to, greater than or equal to
Boolean Operators
Logical AND, Logical OR, Logical NOT