Skip to content

Instantly share code, notes, and snippets.

@m-kurbanov
m-kurbanov / ledtrig_pattern_poll.c
Created October 26, 2022 12:40
Example for led-trigger-pattern
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <poll.h>
#include <unistd.h>
#include <string.h>
#include <stdbool.h>
#include <errno.h>
#include <limits.h>