sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
piFaceOld.c File Reference
#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)
 

Macro Definition Documentation

#define PIFACE_DEVNO   0
#define PIFACE_SPEED   4000000

Function Documentation

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)