What is the arduino words for if, else condition on arduino?
Answers
Answered by
1
Answer:
(condition) light_led1;
"Condition" is boolean term using "true" or "false" A "true" condition lights LED1, a "false" condition turns LED1 OFF. The Arduino compiler defines "true" as the word "true", the number 1, or any non-zero number. The compiler defines "false" with the word "false" or the number 0.
Answered by
0
Answer:
if (condition) light_led1;
"Condition" is boolean term using "true" or "false" A "true" condition lights LED1, a "false" condition turns LED1 OFF. The Arduino compiler defines "true" as the word "true", the number 1, or any non-zero number. The compiler defines "false" with the word "false" or the number 0.
Similar questions
English,
26 days ago
Physics,
26 days ago
Math,
26 days ago
India Languages,
1 month ago
History,
1 month ago