//ALGORITMA PEMROGRAMAN
// Nama:Gede Aditya Mahardika
// Kelas: XITE2
// Kelompok Ganjil
// Menghitung arus tegangan
// V = I x R
int IxR;
int V;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
Serial.println(V>5);
if(V>5);{
Serial.println("Output Tegangan Benar =1");
}
(V>5);{
Serial.println("Output Tegangan Ngedrop =0");
}
}