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

/dev/rtswitch0,1,2をまとめる #3

Open
ryuichiueda opened this issue Mar 27, 2016 · 1 comment
Open

/dev/rtswitch0,1,2をまとめる #3

ryuichiueda opened this issue Mar 27, 2016 · 1 comment
Assignees
Labels
Type: Feature New Feature

Comments

@ryuichiueda
Copy link
Collaborator

/dev/rtlightsensors0みたいな出力で良いかと

@Tiryoh
Copy link
Contributor

Tiryoh commented Aug 31, 2018

/dev/rtswitch_all0 で追加します。

現在、以下ようにcatで複数のスイッチの状態を取得できます。

$ cat /dev/rtswitch*
1
1
1

それを以下のように1つのファイルをcatするだけで全部のスイッチの状態を取得できるようにします。

$ cat /dev/rtswitch_all0
1 1 1

@Tiryoh Tiryoh added the Type: Feature New Feature label Jan 31, 2019
@Tiryoh Tiryoh self-assigned this Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature New Feature
Projects
None yet
Development

No branches or pull requests

2 participants