Instructions

KY-009 RGB LED SMD module
try:
while True:
for x in range(0,2):
for y in range(0,2):
for z in range(0,2):
print (x,y,z)
for i in range(0,101):
LED_color((x*i),(y*i),(z*i),.02)
# Scavenging work after the end of the program.
except KeyboardInterrupt:
GPIO.cleanup()
Example program PWM download:
KY-009_RPi_PWM
To start, enter the command:
sudo python KY-009_RPi_PWM.py
Connections Raspberry Pi:
LED
Red = GPIO6 [Pin 22]
LEDGreen = GPIO5 [Pin 18]
LEDBlue = GPIO4 [Pin 16]
Sensor GND = GND [Pin 6]
Export: 16.06.2017 Copyright by Joy-IT - Published under CC BY-NC-SA 3.0 Page 42 of 214