while (!digitalRead(ONE_HZ_SW))[color=#222222][/color]
{[color=#222222][/color]
}
The above code might be freezing your loop. When you open serial monitor, the arduino will reset.
while (!digitalRead(ONE_HZ_SW))[color=#222222][/color]
{[color=#222222][/color]
}
The above code might be freezing your loop. When you open serial monitor, the arduino will reset.