sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
htu21d.c File Reference
#include <unistd.h>
#include <stdint.h>
#include <stdio.h>
#include <math.h>
#include "wiringPi.h"
#include "wiringPiI2C.h"
#include "htu21d.h"

Macros

#define DEBUG
 
#define I2C_ADDRESS   0x40
 

Functions

int checksum (UNU uint8_t data[4])
 
int htu21dSetup (const int pinBase)
 

Macro Definition Documentation

#define DEBUG
#define I2C_ADDRESS   0x40

Function Documentation

int checksum ( UNU uint8_t  data[4])
int htu21dSetup ( const int  pinBase)