Sample program for interfacing with PNI's RM3100 Breakout Board

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers mbed_objects.h Source File

mbed_objects.h

00001 // The purpose of this file and associated header file is to 
00002 // enable globalization of mbed platform specific objects
00003 // for all source files to utilize
00004 
00005 #ifndef OBJECTS_H
00006 #define OBJECTS_H
00007 
00008 #include "main.h"
00009     extern I2C i2c;
00010     extern Serial pc;
00011     
00012     extern DigitalIn DRDY_PIN;
00013     
00014     unsigned int rm3100_i2c_write(char registerAddress, char* buffer, short int length);
00015     unsigned int rm3100_i2c_read(char registerAddress, char* buffer, short int length);
00016     
00017 #endif