summaryrefslogtreecommitdiff
path: root/docs/library
diff options
context:
space:
mode:
authorPhil Howard <phil@gadgetoid.com>2024-02-29 00:27:06 +0000
committerDamien George <damien@micropython.org>2024-03-07 16:25:17 +1100
commitdda9b9c6da5d3c31fa8769e581a753e95a270803 (patch)
tree853e4db667b319a315719a2ab52d9dfb747abdc0 /docs/library
parentdecf8e6a8bb940d5829ca3296790631fcece7b21 (diff)
all: Prune trailing whitespace.
Prune trailing whitespace across the whole project (almost), done automatically with: grep -IUrl --color "[[:blank:]]$" --exclude-dir=.git --exclude=*.exp |\ xargs sed -i 's/[[:space:]]*$//' Exceptions: - Skip third-party code in lib/ and drivers/cc3100/ - Skip generated code in bluetooth_init_cc2564C_1.5.c - Preserve command output whitespace in docs, eg: docs/esp8266/tutorial/repl.rst Signed-off-by: Phil Howard <phil@gadgetoid.com>
Diffstat (limited to 'docs/library')
-rw-r--r--docs/library/machine.ADCBlock.rst2
-rw-r--r--docs/library/machine.PWM.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/library/machine.ADCBlock.rst b/docs/library/machine.ADCBlock.rst
index eb94362d5..e947f7081 100644
--- a/docs/library/machine.ADCBlock.rst
+++ b/docs/library/machine.ADCBlock.rst
@@ -26,7 +26,7 @@ Constructors
Access the ADC peripheral identified by *id*, which may be an integer
or string.
-
+
The *bits* argument, if given, sets the resolution in bits of the
conversion process. If not specified then the previous or default
resolution is used.
diff --git a/docs/library/machine.PWM.rst b/docs/library/machine.PWM.rst
index b9cf00240..5f592b8df 100644
--- a/docs/library/machine.PWM.rst
+++ b/docs/library/machine.PWM.rst
@@ -86,7 +86,7 @@ Specific PWM class implementations
The following concrete class(es) implement enhancements to the PWM class.
- | :ref:`pyb.Timer for PyBoard <pyb.Timer>`
+ | :ref:`pyb.Timer for PyBoard <pyb.Timer>`
Limitations of PWM
------------------
@@ -103,7 +103,7 @@ Limitations of PWM
Some ports like the RP2040 one use a fractional divider, which allow a finer
granularity of the frequency at higher frequencies by switching the PWM
pulse duration between two adjacent values, such that the resulting average
- frequency is more close to the intended one, at the cost of spectral purity.
+ frequency is more close to the intended one, at the cost of spectral purity.
* The duty cycle has the same discrete nature and its absolute accuracy is not
achievable. On most hardware platforms the duty will be applied at the next