diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2019-09-03 13:05:10 +1000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2019-09-03 23:25:45 +1000 |
| commit | 74fe8414499c9a156dfcf348c091b3bcef4caac3 (patch) | |
| tree | b6235c156d4da307d2cb18d8ca29e6dcb5eaabd5 /docs/library | |
| parent | 50482cdc0c50c53f43953cf101e586c34f5588ad (diff) | |
docs/library/pyb.DAC.rst: Correct frequency for triangle mode output.
Also correct comments in related code.
Diffstat (limited to 'docs/library')
| -rw-r--r-- | docs/library/pyb.DAC.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/library/pyb.DAC.rst b/docs/library/pyb.DAC.rst index c67603a71..9a465b9ce 100644 --- a/docs/library/pyb.DAC.rst +++ b/docs/library/pyb.DAC.rst @@ -93,9 +93,9 @@ Methods .. method:: DAC.triangle(freq) - Generate a triangle wave. The value on the DAC output changes at - the given frequency, and the frequency of the repeating triangle wave - itself is 2048 times smaller. + Generate a triangle wave. The value on the DAC output changes at the given + frequency and ramps through the full 12-bit range (up and down). Therefore + the frequency of the repeating triangle wave itself is 8192 times smaller. .. method:: DAC.write(value) |
