Skip to content

Turn off LED on SIGINT - #40

Open
kbbgl wants to merge 2 commits into
Freenove:masterfrom
kbbgl:led-turn-off-interrupt
Open

Turn off LED on SIGINT#40
kbbgl wants to merge 2 commits into
Freenove:masterfrom
kbbgl:led-turn-off-interrupt

Conversation

@kbbgl

@kbbgl kbbgl commented May 21, 2023

Copy link
Copy Markdown

When blinking the LED, the LED will stay on even after the program receives a SIGINIT.

This PR includes a handler for such cases to ensure that the LED is turned off when receiving a SIGINT.

Same changed was opened for WiringPi

@Mohammadvalizadeh66

Copy link
Copy Markdown

1d317536856567c5e3f0f573acc76a71b5a77377

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