This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <linux/i2c.h> | |
#include <linux/i2c-help.h> | |
#include <sys/ioctl.h> | |
#include "legato.h" | |
#define ADAPTER "/dev/i2c-8" | |
#define BAD_ADDRESS 0x00 | |
#define GOOD_ADDRESS 0x55 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC = gcc | |
#SDL_CFLAGS := $(shell pkg-config --cflags SDL2_image) | |
#SDL_LDFALGS := $(shell pkg-config --libs SDL2_image) \ | |
$(shell pkg-config --libs SDL2_mixer) \ | |
$(shell pkg-config --libs SDL2_ttf) | |
CFLAGS := -Wall -g #$(SDL_CFLAGS) | |
#LDFLAGS := $(SDL_LDFALGS) |