Commit 0bf035aa authored by Marcel Stör's avatar Marcel Stör
Browse files

Fix gpio.pulse admonition

parent f05bbb13
...@@ -197,12 +197,13 @@ One of the uses for this is to generate bipolar impulse for driving clock moveme ...@@ -197,12 +197,13 @@ One of the uses for this is to generate bipolar impulse for driving clock moveme
second, and a pulse on Pin 2 on the odd second. `:getstate` and `:adjust` can be used to keep the pulse synchronized to the second, and a pulse on Pin 2 on the odd second. `:getstate` and `:adjust` can be used to keep the pulse synchronized to the
RTC clock (that is itself synchronized with NTP). RTC clock (that is itself synchronized with NTP).
!!! Configuration !!! Attention
This feature is only available if `LUA_USE_MODULES_GPIO_PULSE` is defined at build time.
This sub module is disabled by default. Uncomment `LUA_USE_MODULES_GPIO_PULSE` in `app/include/user_modules.h` before building the firmware to enable it.
## gpio.pulse.build ## gpio.pulse.build
This builds the `gpio.pulse` object from the supplied argument -- which is a table as described below. This builds the `gpio.pulse` object from the supplied argument (a table as described below).
#### Syntax #### Syntax
`gpio.pulse.build(table)` `gpio.pulse.build(table)`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment