https://github.com/rayps/openstick-ledm
https://github.com/rayps/openstick-ledm
msm8916 openstick
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/rayps/openstick-ledm
- Owner: RayPS
- Created: 2023-04-24T13:24:32.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-24T13:59:59.000Z (almost 3 years ago)
- Last Synced: 2025-01-21T07:28:33.214Z (about 1 year ago)
- Topics: msm8916, openstick
- Language: TypeScript
- Homepage:
- Size: 69.3 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ledm
### A led manager for openstick
> **Note**
> This is a prototype that may be rewritten in another language in the future.

## Installation
```
wget https://github.com/RayPS/openstick-ledm/raw/main/ledm.tar.gz
tar -xzvf ledm.tar.gz -C /usr/local/bin
rm ledm.tar.gz
```
## Usage
`ledm --help`
```
Usage:
--help -?
--get
--set= --= ...
Attribute flags:
--trigger -t
--brightness -b
--delay_on -h
--delay_off -l
Examples:
--get
--set green:internet --trigger none
--set green:internet --brightness 1
--set 0 --set 1 --set 5 -t none -b 1 --get
--set 0 -t timer -h 100 -l 500 --get
```
## Compile
```
deno compile --unstable --allow-write --allow-read -o ledm main.ts
```