mirror of https://github.com/g4klx/MMDVMHost
Make the LED flash a little faster.
This commit is contained in:
parent
4581a7c9fd
commit
d5c382840f
|
|
@ -144,13 +144,13 @@ void loop()
|
||||||
|
|
||||||
m_count++;
|
m_count++;
|
||||||
if (m_started) {
|
if (m_started) {
|
||||||
if (m_count > 32000U) {
|
if (m_count > 3200U) {
|
||||||
digitalWrite(PIN_LED, m_led ? LOW : HIGH);
|
digitalWrite(PIN_LED, m_led ? LOW : HIGH);
|
||||||
m_led = !m_led;
|
m_led = !m_led;
|
||||||
m_count = 0U;
|
m_count = 0U;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (m_count > 320000U) {
|
if (m_count > 32000U) {
|
||||||
digitalWrite(PIN_LED, m_led ? LOW : HIGH);
|
digitalWrite(PIN_LED, m_led ? LOW : HIGH);
|
||||||
m_led = !m_led;
|
m_led = !m_led;
|
||||||
m_count = 0U;
|
m_count = 0U;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue