Skip to content

salvacorts/image2leds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Image 2 Leds

This script will let you send the primary colour of the current wallpaper you have to a Raspberry Pi connected to a RGB led strip.

Requirements:

Configuration:

Server (Raspberry PI)

PORT = 5000      # Port to revieve from
RED_PIN = 36     # GPIO PIN for red
GREEN_PIN = 38	  # GPIO PIN for green
BLUE_PIN = 40    # GPIO PIN for blue

Client (Desktop)

PORT = 5000            # Port to send to
SERVER = "192.168.1.8" # Server address
QUALITY = 5            # Quality to get dominant color
DURATION = 15          # Time to sleep before checking again (seconds)

Setting up Raspberry Pi:

You can follow these nice tutorials:

rpi

Author:

About

Show the primary colour of your current wallpaper on your leds using a Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages