Documented max timer interval value.

This commit is contained in:
Johny Mattsson 2016-01-10 17:39:43 +11:00
parent befff81868
commit 8d38cef044
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ To free up the resources with this timer when done using it, call `tmr.unregiste
####Parameters ####Parameters
- `id`: The timer id (0-6). - `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: - `mode`: timer mode:
- `tmr.ALARM_SINGLE`: a one-shot alarm (and no need to call `tmr.unregister()`) - `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) - `tmr.ALARM_SEMI`: manually repeating alarm (call `tmr.start()` to restart)