nothing important
This commit is contained in:
parent
160f70890d
commit
db4040f8d9
17
README.md
Normal file
17
README.md
Normal file
@ -0,0 +1,17 @@
|
||||
# led controll
|
||||
|
||||
## client
|
||||
|
||||
|
||||
## server
|
||||
|
||||
### requirements
|
||||
|
||||
SPI has to be enabled:
|
||||
`sudo raspi-config -> Interface -> SPI`
|
||||
|
||||
### usage
|
||||
|
||||
-d : (deamon mode) receive tcp packages with rgb color code in hex format on port 5000
|
||||
-s $(hex) : (direct mode) used to set color directly
|
||||
-h : help menu
|
||||
@ -1 +0,0 @@
|
||||
cava -p ./config | sed -u 's/;.*;$//' | ssh pi@192.168.188.61 './ws2801.py'
|
||||
@ -5,7 +5,7 @@ import sys
|
||||
import subprocess
|
||||
|
||||
client_socket = socket.socket()
|
||||
server_IP = "192.168.188.61"
|
||||
server_IP = "192.168.188.64"
|
||||
|
||||
def connect(host, port = 5000):
|
||||
client_socket.connect((host, port))
|
||||
|
||||
@ -21,7 +21,7 @@ autosens = 1
|
||||
|
||||
# The number of bars (0-200). 0 sets it to auto (fill up console).
|
||||
# Bars' width and space between bars in number of characters.
|
||||
bars = 2
|
||||
bars = 6
|
||||
; bar_width = 2
|
||||
; bar_spacing = 1
|
||||
|
||||
@ -112,11 +112,11 @@ foreground = red
|
||||
|
||||
# Percentage value for integral smoothing. Takes values from 0 - 100.
|
||||
# Higher values means smoother, but less precise. 0 to disable.
|
||||
integral = 50
|
||||
integral = 0
|
||||
|
||||
# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable.
|
||||
; monstercat = 1
|
||||
; waves = 0;
|
||||
monstercat = 1
|
||||
waves = 3;
|
||||
|
||||
# Set gravity percentage for "drop off". Higher values means bars will drop faster.
|
||||
# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
scp server/* pi@192.168.188.61:~/led_controll/
|
||||
#ws2801.py --daemon
|
||||
scp server/* pi@192.168.188.64:~/led_controll/
|
||||
@ -1,5 +0,0 @@
|
||||
RPi.GPIO
|
||||
Adafruit-WS2801
|
||||
Adafruit-GPIO
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user