int hz = 1;
void setup() {
// put your setup code here, to run once:
pinMode(2, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(2, HIGH);
delay(1000 / hz);
digitalWrite(2, LOW);
delay(1000 / hz);
}
int hz = 1;
void setup() {
// put your setup code here, to run once:
pinMode(2, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(2, HIGH);
delay(1000 / hz);
digitalWrite(2, LOW);
delay(1000 / hz);
}