8000 Add DT Overlay Helper by LivInAbsurdism · Pull Request #32 · smartrent/delux · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add DT Overlay Helper #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

LivInAbsurdism
Copy link

No description provided.

@fhunleth
Copy link
Contributor
fhunleth commented Jan 4, 2024

Could you add a paragraph to the docs for how to use this?

The main reason is that I think that there might be a simpler way, but I'd like to iterate on how the user configures it before suggesting something that's difficult to use.

@LivInAbsurdism
Copy link
Author
LivInAbsurdism commented Jan 5, 2024

@fhunleth I can go ahead and add to the docs, but it looks like this for setup in the config

config :delux, :dt_overlays,
  overlays_path: "/data/gpio-led.dtbo",
  pins: [
    {"rgb-red0", 12},
    {"rgb-green0", 16},
    {"rgb-blue0", 21},
    {"rgb-red1", 24},
    {"rgb-green1", 25},
    {"rgb-blue1", 1}
  ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0