sketchbook
|
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <time.h>
#include <wiringPi.h>
#include <mcp23017.h>
#include <lcd.h>
Macros | |
#define | TRUE (1==1) |
#define | FALSE (1==2) |
#define | AF_BASE 100 |
#define | AF_RED (AF_BASE + 6) |
#define | AF_GREEN (AF_BASE + 7) |
#define | AF_BLUE (AF_BASE + 8) |
#define | AF_E (AF_BASE + 13) |
#define | AF_RW (AF_BASE + 14) |
#define | AF_RS (AF_BASE + 15) |
#define | AF_DB4 (AF_BASE + 12) |
#define | AF_DB5 (AF_BASE + 11) |
#define | AF_DB6 (AF_BASE + 10) |
#define | AF_DB7 (AF_BASE + 9) |
#define | AF_SELECT (AF_BASE + 0) |
#define | AF_RIGHT (AF_BASE + 1) |
#define | AF_DOWN (AF_BASE + 2) |
#define | AF_UP (AF_BASE + 3) |
#define | AF_LEFT (AF_BASE + 4) |
Functions | |
int | usage (const char *progName) |
void | scrollMessage (int line, int width) |
int | main (int argc, char *argv[]) |
#define AF_BASE 100 |
#define AF_BLUE (AF_BASE + 8) |
#define AF_DB4 (AF_BASE + 12) |
#define AF_DB5 (AF_BASE + 11) |
#define AF_DB6 (AF_BASE + 10) |
#define AF_DB7 (AF_BASE + 9) |
#define AF_DOWN (AF_BASE + 2) |
#define AF_E (AF_BASE + 13) |
#define AF_GREEN (AF_BASE + 7) |
#define AF_LEFT (AF_BASE + 4) |
#define AF_RED (AF_BASE + 6) |
#define AF_RIGHT (AF_BASE + 1) |
#define AF_RS (AF_BASE + 15) |
#define AF_RW (AF_BASE + 14) |
#define AF_SELECT (AF_BASE + 0) |
#define AF_UP (AF_BASE + 3) |
#define FALSE (1==2) |
#define TRUE (1==1) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
void scrollMessage | ( | int | line, |
int | width | ||
) |
int usage | ( | const char * | progName | ) |