if in arduino code example Example 1: if arduino if (condition) { //statement(s) } Example 2: if arduino pinMode(LED_BUILTIN, OUTPUT);