Koding Arduino

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

void setup() {

// put your setup code here, to run once:


Serial.begin(256000);
}

void loop() {
// put your main code here, to run repeatedly:
if (Serial.available()) {
char y = Serial.read();
if (y == 'z') {
Serial.println("Tommy$DBC116055$031798");
delay(2000);
Serial.println("Fitri$DBC116022$180199");
delay(2000);
Serial.println("Rizal$DBC116026$180198");
delay(2000);
Serial.println("Adi$DBC116025$090898");
delay(2000);
Serial.println("Alfian$DBC116026$081197");
delay(2000);
Serial.println("Edo$DBC115030$000000");
delay(2000);
Serial.println("Nuri$DBC116079$000096");
delay(2000);
Serial.println("Riski$DBC116010$000099");
delay(2000);
}
}
}

You might also like