Stap 2: Test Code
Test de Code:
char vel;
int ledPin = 13;
VOID Setup {}
pinMode (ledPin, OUTPUT);
Serial.begin(9600);
}
void loop {}
if(Serial.available()) {}
Val = Serial.read();
}
Als (val == 'H') {}
digitalWrite (ledPin, hoge);
}
else {}
digitalWrite (ledPin, laag);
}
delay(100);
}