diff options
| author | Dan Halbert <halbert@halwitz.org> | 2018-02-21 20:14:46 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-21 20:14:46 -0500 |
| commit | 419920987c2e9473ec7b75064506b9acbb696ddd (patch) | |
| tree | 758b72f0948e9894d4de03fe967e727da34038bc /docs/pyboard/tutorial/power_ctrl.rst | |
| parent | ee90056866d2a8a1e0eec21f0ce5c60b741ea411 (diff) | |
| parent | e667bdfe0583909c1a6fd7789ab5605f010d3005 (diff) | |
Merge pull request #632 from tannewt/delete_out_of_date
Delete out of date docs, drivers and examples
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 |
