Skip to content

ppelleti/hs-opc-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an example of how to use Haskell to talk to an Open Pixel Control server, (such as a FadeCandy, or my ESP8266-based server), to control strings of RGB LED lights.

If run with no arguments, hs-opc-client sets the string color to all white. If run with one argument, the argument must be one of the color names black, blue, cyan, green, magenta, orange, purple, red, white, yellow, or random. If run with three arguments, each argument must be an integer between 0-255, forming an RGB triple.

Various command-line options exist for setting the server to connect to, setting the brightness, etc. For details, run with --help.

For more information, see my blog post.

About

A simple example of how to talk to an Open Pixel Control server from Haskell.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published