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
424f9f9f
Commit
424f9f9f
authored
Feb 21, 2016
by
devsaurus
Browse files
include new bme280 and fix list in sigma-delta
parent
b171ca35
Changes
2
Show whitespace changes
Inline
Side-by-side
docs/en/modules/sigma-delta.md
View file @
424f9f9f
...
...
@@ -2,13 +2,13 @@
This module provides access to the sigma-delta component. It's a hardware signal generator that can be routed to any of the GPIOs except pin 0.
The signal generation is controlled by the
[
`setprescale()`
](
#sigma_deltasetprescale
)
and
[
`settarget()`
](
#sigma_deltasettarget
)
functions.
*
0
<
target
<=
128<
br
/>
-
0
<
target
<=
128<
br
/>
t
<sub>
high
</sub>
= (prescale + 1) / 80 µs
<br
/>
t
<sub>
period
</sub>
= t
<sub>
high
</sub>
*
256 / target
*
128
<
target
<
256<
br
/>
-
128
<
target
<
256<
br
/>
t
<sub>
low
</sub>
= (prescale + 1) / 80 µs
<br
/>
t
<sub>
period
</sub>
= t
<sub>
low
</sub>
*
256 / (256 - target)
*
target = 0
<br
/>
-
target = 0
<br
/>
signal stopped at low
Fixed frequency PWM at ~312.5
kHz is availble with the
[
`setpwmduty()`
](
#sigma_deltasetpwmduty
)
function.
...
...
mkdocs.yml
View file @
424f9f9f
...
...
@@ -37,6 +37,7 @@ pages:
-
'
am2320'
:
'
en/modules/am2320.md'
-
'
apa102'
:
'
en/modules/apa102.md'
-
'
bit'
:
'
en/modules/bit.md'
-
'
bme280'
:
'
en/modules/bme280.md'
-
'
bmp085'
:
'
en/modules/bmp085.md'
-
'
cjson'
:
'
en/modules/cjson.md'
-
'
coap'
:
'
en/modules/coap.md'
...
...
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