|
sketchbook
|
#include <stdio.h>#include <unistd.h>#include <stdint.h>#include <fcntl.h>#include <sys/ioctl.h>#include <wiringPi.h>#include <wiringPiI2C.h>#include "mcp3422.h"Functions | |
| void | waitForConversion (int fd, unsigned char *buffer, int n) |
| int | myAnalogRead (struct wiringPiNodeStruct *node, int chan) |
| int | mcp3422Setup (int pinBase, int i2cAddress, int sampleRate, int gain) |
| int mcp3422Setup | ( | int | pinBase, |
| int | i2cAddress, | ||
| int | sampleRate, | ||
| int | gain | ||
| ) |
| int myAnalogRead | ( | struct wiringPiNodeStruct * | node, |
| int | chan | ||
| ) |
| void waitForConversion | ( | int | fd, |
| unsigned char * | buffer, | ||
| int | n | ||
| ) |
1.8.6