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

Macros

#define I2C_ADDRESS   0x77
 
#define BMP180_OSS   0
 

Functions

uint16_t read16 (int fd, int reg)
 
int bmp180Setup (const int pinBase)
 

Variables

uint32_t cPress
 
uint32_t cTemp
 

Macro Definition Documentation

#define BMP180_OSS   0
#define I2C_ADDRESS   0x77

Function Documentation

int bmp180Setup ( const int  pinBase)
uint16_t read16 ( int  fd,
int  reg 
)

Variable Documentation

uint32_t cPress
uint32_t cTemp