Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
8d38cef0
Commit
8d38cef0
authored
Jan 10, 2016
by
Johny Mattsson
Browse files
Documented max timer interval value.
parent
befff818
Changes
1
Show whitespace changes
Inline
Side-by-side
docs/en/modules/tmr.md
View file @
8d38cef0
...
...
@@ -22,7 +22,7 @@ To free up the resources with this timer when done using it, call `tmr.unregiste
####Parameters
-
`id`
: The timer id (0-6).
-
`interval_ms`
: timer interval in milliseconds.
-
`interval_ms`
: timer interval in milliseconds.
Maximum value is 12884901. In SDKs
<
=
1.5.0
values
>
6871948 result in incorrect behaviour.
-
`mode`
: timer mode:
-
`tmr.ALARM_SINGLE`
: a one-shot alarm (and no need to call
`tmr.unregister()`
)
-
`tmr.ALARM_SEMI`
: manually repeating alarm (call
`tmr.start()`
to restart)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment