Sample program for interfacing with PNI's RM3100 Breakout Board

Dependencies:   mbed

mbed_objects.h

Committer:
ddelsuc
Date:
2017-10-26
Revision:
0:6ddf88b49483

File content as of revision 0:6ddf88b49483:

// The purpose of this file and associated header file is to 
// enable globalization of mbed platform specific objects
// for all source files to utilize

#ifndef OBJECTS_H
#define OBJECTS_H

#include "main.h"
    extern I2C i2c;
    extern Serial pc;
    
    extern DigitalIn DRDY_PIN;
    
    unsigned int rm3100_i2c_write(char registerAddress, char* buffer, short int length);
    unsigned int rm3100_i2c_read(char registerAddress, char* buffer, short int length);
    
#endif