//MEMBUAT SETIAP LED BERKEDIP 3X
//DENGAN PENANGANAN MEMNGGUNAKAN WHILE
int LED_R = 6;
void setup() {
// put your setup code here, to run once:
pinMode(LED_R, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
int pencacah;
pencacah = 1;
while (pencacah <=3)
{
digitalWrite(LED_R, HIGH);
delay(1000);
digitalWrite(LED_R, LOW);
delay(1000);
pencacah++;
}
}