diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2018-02-20 17:34:59 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2018-02-20 17:34:59 -0800 |
| commit | 20dd3b1e434f57a0609fd5306f47863396d1022e (patch) | |
| tree | 47d7be30787716fcd95e01723942cdff06b0bd85 /docs/pyboard/tutorial/power_ctrl.rst | |
| parent | ee90056866d2a8a1e0eec21f0ce5c60b741ea411 (diff) | |
Delete a bunch of docs, drivers and examples not relevant to CircuitPython.
This fixes #345 and fixes #215.
Diffstat (limited to 'docs/pyboard/tutorial/power_ctrl.rst')
| -rw-r--r-- | docs/pyboard/tutorial/power_ctrl.rst | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/docs/pyboard/tutorial/power_ctrl.rst b/docs/pyboard/tutorial/power_ctrl.rst deleted file mode 100644 index 877b7cd7e..000000000 --- a/docs/pyboard/tutorial/power_ctrl.rst +++ /dev/null @@ -1,13 +0,0 @@ -Power control -============= - -:meth:`pyb.wfi` is used to reduce power consumption while waiting for an -event such as an interrupt. You would use it in the following situation:: - - while True: - do_some_processing() - pyb.wfi() - -Control the frequency using :meth:`pyb.freq`:: - - pyb.freq(30000000) # set CPU frequency to 30MHz |
