sketchbook
|
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <malloc.h>
#include <ctype.h>
#include "wiringPi.h"
#include "ds18b20.h"
Macros | |
#define | W1_PREFIX "/sys/bus/w1/devices/28-" |
#define | W1_POSTFIX "/w1_slave" |
Functions | |
int | ds18b20Setup (const int pinBase, const char *deviceId) |
#define W1_POSTFIX "/w1_slave" |
#define W1_PREFIX "/sys/bus/w1/devices/28-" |
int ds18b20Setup | ( | const int | pinBase, |
const char * | deviceId | ||
) |