Changes

KY-027 Magic light cup module

111 bytes removed, 15:01, 12 May 2017
/* Code example Raspberry Pi */
==Code example Raspberry Pi==
Program example in the language python
 
The LED will light up, in this example, if a signal will be detected.
 
<pre class="brush:py"># Needed modules will be imported and configured.
import RPi.GPIO as GPIO
Bureaucrat, administrator
973
edits