|
sketchbook
|
#include <stdio.h>#include <stdint.h>#include <wiringPi.h>#include <wiringPiSPI.h>#include "../wiringPi/mcp23x0817.h"#include "piFace.h"Macros | |
| #define | PIFACE_SPEED 4000000 |
| #define | PIFACE_DEVNO 0 |
Functions | |
| void | myDigitalWrite (struct wiringPiNodeStruct *node, int pin, int value) |
| int | myDigitalRead (struct wiringPiNodeStruct *node, int pin) |
| void | myPullUpDnControl (struct wiringPiNodeStruct *node, int pin, int pud) |
| int | piFaceSetup (const int pinBase) |
| #define PIFACE_DEVNO 0 |
| #define PIFACE_SPEED 4000000 |
| int myDigitalRead | ( | struct wiringPiNodeStruct * | node, |
| int | pin | ||
| ) |
| void myDigitalWrite | ( | struct wiringPiNodeStruct * | node, |
| int | pin, | ||
| int | value | ||
| ) |
| void myPullUpDnControl | ( | struct wiringPiNodeStruct * | node, |
| int | pin, | ||
| int | pud | ||
| ) |
| int piFaceSetup | ( | const int | pinBase | ) |
1.8.6