sketchbook
|
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <ctype.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <wiringPi.h>
#include <wpiExtensions.h>
#include <gertboard.h>
#include <piFace.h>
#include "../version.h"
Macros | |
#define | TRUE (1==1) |
#define | FALSE (1==2) |
#define | PI_USB_POWER_CONTROL 38 |
#define | I2CDETECT "i2cdetect" |
#define | MODPROBE "modprobe" |
#define | RMMOD "rmmod" |
Functions | |
void | doReadall (void) |
void | doAllReadall (void) |
void | doQmode (int argc, char *argv[]) |
void | doExport (int argc, char *argv[]) |
void | doWfi (int argc, char *argv[]) |
void | doEdge (int argc, char *argv[]) |
void | doUnexport (int argc, char *argv[]) |
void | doUnexportall (char *progName) |
void | doMode (int argc, char *argv[]) |
void | doRead (int argc, char *argv[]) |
void | doAread (int argc, char *argv[]) |
void | doToggle (int argc, char *argv[]) |
void | doBlink (int argc, char *argv[]) |
void | doPwmTone (int argc, char *argv[]) |
void | doClock (int argc, char *argv[]) |
void | doPwm (int argc, char *argv[]) |
int | main (int argc, char *argv[]) |
Variables | |
int | wiringPiDebug |
int | wpMode |
char * | usage |
#define FALSE (1==2) |
#define I2CDETECT "i2cdetect" |
#define MODPROBE "modprobe" |
#define PI_USB_POWER_CONTROL 38 |
#define RMMOD "rmmod" |
#define TRUE (1==1) |
void doAllReadall | ( | void | ) |
void doAread | ( | int | argc, |
char * | argv[] | ||
) |
void doBlink | ( | int | argc, |
char * | argv[] | ||
) |
void doClock | ( | int | argc, |
char * | argv[] | ||
) |
void doEdge | ( | int | argc, |
char * | argv[] | ||
) |
void doExport | ( | int | argc, |
char * | argv[] | ||
) |
void doMode | ( | int | argc, |
char * | argv[] | ||
) |
void doPwm | ( | int | argc, |
char * | argv[] | ||
) |
void doPwmTone | ( | int | argc, |
char * | argv[] | ||
) |
void doQmode | ( | int | argc, |
char * | argv[] | ||
) |
void doRead | ( | int | argc, |
char * | argv[] | ||
) |
void doReadall | ( | void | ) |
void doToggle | ( | int | argc, |
char * | argv[] | ||
) |
void doUnexport | ( | int | argc, |
char * | argv[] | ||
) |
void doUnexportall | ( | char * | progName | ) |
void doWfi | ( | int | argc, |
char * | argv[] | ||
) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
char* usage |
int wiringPiDebug |
int wpMode |