From c522d60e25cac46855b51aabbae955135975962d Mon Sep 17 00:00:00 2001 From: Alex Eames Date: Thu, 28 Apr 2016 15:36:51 +0100 Subject: [PATCH] Update recipes.rst Small correction. LED to PWMLED in the Light Sensor 2nd example --- docs/recipes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/recipes.rst b/docs/recipes.rst index ef6482b..a966fac 100644 --- a/docs/recipes.rst +++ b/docs/recipes.rst @@ -442,7 +442,7 @@ Run a function when the light changes:: Or make a :class:`PWMLED` change brightness according to the detected light level:: - from gpiozero import LightSensor, LED + from gpiozero import LightSensor, PWMLED from signal import pause sensor = LightSensor(18)