source file to check the IO_Expander
More...
#include <stdio.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <linux/gpio.h>
#include <fcntl.h>
#include <linux/spi/spidev.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <pthread.h>
#include <sys/eventfd.h>
#include <sys/epoll.h>
#include <stdint.h>
#include <time.h>
#include <getopt.h>
#include <sys/time.h>
#include <linux/types.h>
#include <linux/i2c-dev.h>
#include "main.h"
|
int | led (void) |
| Test to check the leds.
|
|
source file to check the IO_Expander
◆ I2C_ADDR1
◆ I2C_ADDR2
◆ I2C_DEVICE
#define I2C_DEVICE "/dev/i2c-1" |
◆ led()
Test to check the leds.
- Returns
- API_SUCCESS_test on success API_FAILURE_test on failure