mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 15:09:23 +08:00
Make the LED flash a little faster.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user