Pustaka Taratsa
Arduino: If Statement Conditional

Arduino: If Statement Conditional

Penulis: Onno Widodo Purbo

Sumber: https://www.arduino.cc/en/Tutorial/ifStatementConditional The if() statement is the most basic of all programming control structures. It allows you to make something happen or not, depending on whether a given condition is true or not. It looks like this: if (someCondition) { // do stuff if the condition is true } There is a common variation called if-else that looks like this: if