From 20dd3b1e434f57a0609fd5306f47863396d1022e Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Tue, 20 Feb 2018 17:34:59 -0800 Subject: Delete a bunch of docs, drivers and examples not relevant to CircuitPython. This fixes #345 and fixes #215. --- docs/pyboard/tutorial/power_ctrl.rst | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 docs/pyboard/tutorial/power_ctrl.rst (limited to 'docs/pyboard/tutorial/power_ctrl.rst') 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 -- cgit v1.2.3