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

HID command_blink_on prevent beep #1

Open
bcoles opened this issue Jun 2, 2018 · 0 comments
Open

HID command_blink_on prevent beep #1

bcoles opened this issue Jun 2, 2018 · 0 comments

Comments

@bcoles
Copy link

bcoles commented Jun 2, 2018

You may be pleased to note that a value of -1 will prevent the device from beeping. This comes at the cost of one additional byte, thus decreasing the available space for the specified shell command by one byte.

A value of 1 will cause the device to beep for one second.
A value of 0 will cause the device to been infinitely.
ASCII values such as A will also cause the device to been infinitely.
A value of -1 will cause the blink executable to throw an error and exit, however the subsequent shell commands encompassed in backticks will still be executed by the system shell.

# ./blink -1
WARNING: blink: duration (-1) not in range 1-65535.
Usage: blink [<secs>]
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