From bfd11a35dbed42040109b4e351d696839ab74af8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rton=20Szinovszki?= Date: Mon, 3 Nov 2014 09:42:38 +0100 Subject: [PATCH] docs: Fix typo in Fading LEDs --- docs/tutorial/fading_led.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/fading_led.rst b/docs/tutorial/fading_led.rst index b40af3e3b1..0a4b5c5039 100644 --- a/docs/tutorial/fading_led.rst +++ b/docs/tutorial/fading_led.rst @@ -27,7 +27,7 @@ Code By examining the :ref:`quickref`, we see that ``X1`` is connected to channel 1 of timer 5 (``TIM5 CH1``). Therefore we will first create a ``Timer`` object for timer 5, then create a ``TimerChannel`` object for channel 1:: from pyb import Timer - from timer import sleep + from time import sleep # timer 5 will be created with a frequency of 100 Hz tim = pyb.Timer(5, freq=100)