kopia lustrzana https://github.com/micropython/micropython
cc3200: Change HeartBeat period from 5 to 4 seconds.
rodzic
f837d166e5
commit
aa8e8acb7d
|
@ -59,7 +59,7 @@
|
||||||
#define MPERROR_TOOGLE_MS (40)
|
#define MPERROR_TOOGLE_MS (40)
|
||||||
#define MPERROR_SIGNAL_ERROR_MS (1000)
|
#define MPERROR_SIGNAL_ERROR_MS (1000)
|
||||||
#define MPERROR_HEARTBEAT_ON_MS (80)
|
#define MPERROR_HEARTBEAT_ON_MS (80)
|
||||||
#define MPERROR_HEARTBEAT_OFF_MS (4920)
|
#define MPERROR_HEARTBEAT_OFF_MS (3920)
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
DECLARE PRIVATE DATA
|
DECLARE PRIVATE DATA
|
||||||
|
|
|
@ -88,7 +88,7 @@ the latest firmware will run again.
|
||||||
The heart beat LED
|
The heart beat LED
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
By default the heart beat LED flashes once every 5s to signal that the system is
|
By default the heart beat LED flashes once every 4s to signal that the system is
|
||||||
alive. This can be overridden through the HeartBeat class:
|
alive. This can be overridden through the HeartBeat class:
|
||||||
|
|
||||||
``pyb.HeartBeat().disable()``
|
``pyb.HeartBeat().disable()``
|
||||||
|
|
Ładowanie…
Reference in New Issue