diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2018-02-27 15:24:16 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2018-02-27 15:24:16 -0800 |
| commit | bf05183158c67c4ef1824c3b1296d401bc7754d8 (patch) | |
| tree | e33edfecab159138716a2d40dd69e2a1fe23e03f /docs/pyboard/tutorial/power_ctrl.rst | |
| parent | 5eb3b208e8d612e2b50bc6e402a2a8901c72640d (diff) | |
| parent | 892d5cda63fbee051b88db3d9cc8e4ba8555cb96 (diff) | |
Merge remote-tracking branch 'adafruit/2.x' into merge_2x
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 |
