PigpioCR
Version, currently master branch1 version
- master branchlatestJun 23, 2018
github.com/PixeLInc/PigpioCR-RGB
A crystal library using pigpio to control RGB led strips
Installation
# Add this to your shard.yml
dependencies:
PigpioCR:
github: PixeLInc/PigpioCR-RGB
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Author
- PixeL
Dependencies
This version declares no dependencies.
README
PigpioCR RGB Edition
Note: While this is a minimal library for Pigpio, its main use is for controlling RGB led strips and will not support features that do not relate to that.
Control your led light strips using pigpio and the gpio connectors on a raspberry pi.
What do I need?
You'll need crystal installed, there's a few tutorials on how to install crystal
on a raspberry pi. Then you need to install pigpiod, the best way I found was to
use ubuntu or raspian and just a simple apt install pigpiod and then you start
the daemon using sudo pigpiod and you can party away.
This library connects to the locally running pigpio daemon on your raspberry pi, but it can also be used to connect to remote instances of pigpio by passing in a different host and port which allows you to control all the things :tm:
Okay, I've got everything installed and the daemon running, now what?
Once you've installed crystal, and started the daemon you can do a few things. The primary usage of this is to provide an interface to pigpio via crystal and allow me to remotely control the daemon from a phone, another pc/website, etc..\n
This can be done by just straight out running crystal src/run.cr which will start the IPC server on port 4456 (configurable).
Otherwise, you can just require the library and execute commands yourself to do what you wish without starting up the IPC server.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Jun 23, 2018
- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/PixeLInc/PigpioCR-RGB
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1