Search found 2 matches

by bm33
Saturday 08 June 2019 1:58
Forum: Python
Topic: LED Strip Python with colorpicker
Replies: 2
Views: 741

Re: LED Strip Python with colorpicker

Hi
Below is a working script.
The script is execute about 8 seconds. Can this time be shortened?


#!/usr/bin/python

import json
import urllib2
import requests
import ast
import base64

# Settings for the domoticz server
domoticzserver="192.168.1.2:8080"
domoticzusername = "pi"
domoticzpassword ...
by bm33
Tuesday 14 May 2019 0:56
Forum: Python
Topic: LED Strip Python with colorpicker
Replies: 2
Views: 741

LED Strip Python with colorpicker

Hi
I can not find a solution in this forum.
I connected the led strip to raspberry pi by SPI.
Controls work via the Python script (RPi-LPD8806).

#!/usr/bin/python
from bootstrap import *
led.fill(Color(255,0,0),0,57)
led.update()

The above script works.
https://imagizer.imageshack.com/img923 ...