Skip to content
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

Button and LED #35

Open
MatejKovacic opened this issue Sep 23, 2024 · 1 comment
Open

Button and LED #35

MatejKovacic opened this issue Sep 23, 2024 · 1 comment

Comments

@MatejKovacic
Copy link

I have LicheeRV Nano B and have installed Debian.

I managed to establish network (internet) connection. I can record a sound from microphone.

But how can I control user button and user LED?

@MatejKovacic
Copy link
Author

I have found how to use button (with command echo 0 | evtest), however user LED seems not to be present in this build.

In official build you can use /sys/class/leds/led-user/ (and then there are several files, for instance trigger and brighthess to control LED).

But this build has only heartbeat, mmc0 and mmc1:

sudo ls /sys/class/leds/
:heartbeat  mmc0::  mmc1::

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

No branches or pull requests

1 participant