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

Macro Definition Documentation

#define W1_POSTFIX   "/w1_slave"
#define W1_PREFIX   "/sys/bus/w1/devices/28-"

Function Documentation

int ds18b20Setup ( const int  pinBase,
const char *  deviceId 
)