Daniel Delsuc
/
RM3100BB_Sample_Code
Sample program for interfacing with PNI's RM3100 Breakout Board
Diff: mbed_objects.h
- Revision:
- 0:6ddf88b49483
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed_objects.h Thu Oct 26 18:40:57 2017 +0000 @@ -0,0 +1,17 @@ +// 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 \ No newline at end of file