Daniel Delsuc
/
RM3100BB_Sample_Code
Sample program for interfacing with PNI's RM3100 Breakout Board
Embed:
(wiki syntax)
Show/hide line numbers
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
Generated on Wed Jul 13 2022 23:44:02 by 1.7.2