Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kellertuer/openpixelcontrol.jl
A Julia Port of the OpenPixelControl Client.
https://github.com/kellertuer/openpixelcontrol.jl
Last synced: 23 days ago
JSON representation
A Julia Port of the OpenPixelControl Client.
- Host: GitHub
- URL: https://github.com/kellertuer/openpixelcontrol.jl
- Owner: kellertuer
- Created: 2019-05-04T16:24:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-08T17:29:00.000Z (over 4 years ago)
- Last Synced: 2024-10-09T17:52:06.786Z (28 days ago)
- Language: Julia
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# OpenPixelControl.jl
This package provides a [Julia](https://julialang.org) port of the [Python](https://raw.githubusercontent.com/zestyping/openpixelcontrol/master/python/opc.py) of the [openpixelcontrol](https://github.com/zestyping/openpixelcontrol) Client for the streaming protocol for controlling RGB LEDs.
# A small example
As an example, you can use the following small code example.
First start up your local [fadecandy server](https://github.com/scanlime/fadecandy)Then, to set the first pixel to red, the second to blue after activating interpolation,
you can use the following small code```
using OpenPixelControl
o = OpenPixelConnection()
setInterpolation(o,true)
setPixel(o, (RGB(1.,0.,0.), RGB(0.,0.,1.)) )
```## License
```
# -----------------------------------------------------
# "THE COFFEE-AND-MATE-WARE LICENSE" (Revision 42/023)
# Ronny Bergmann
# wrote this file. As long as you retain this notice
# you can do whatever you want with this stuff. If we
# meet some day, and you think this stuff is worth it,
# you can buy me a coffee or (Club) Mate in return.
# -----------------------------------------------------
````