SENtral Simple Serial Host interface for PNI Sensor Corp SENtral-A2 motion coprocessor. For use with the RM3100RTI Arduino shield module on top of an STM4 serial mbed board. Will work with an PNI RM3100RTI module or M&M motion modules. Interaction with unit using built in USB serial serial port set for 115200 baud. Send '?' char for menu. Presently requires SENtral firmware to either be loaded in the RM3100RTI Arduino shield SD Card or preloaded in the RM3100RTI or M&M module's EEPROM. Firmware is typically preloaded on the module's EEPROM by PNI. PNI Sensor, 2019 www.pnicorp.com

Dependencies:   mbed SDFileSystemVSG

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers mbed_objects.h Source File

mbed_objects.h

00001 #ifndef OBJECTS_H
00002 #define OBJECTS_H
00003 // The purpose of this file and associated header file is to 
00004 //   enable globalization of mbed platform specific objects
00005 //   for all source files to utilize
00006 #include "main.h"
00007 #include "SDFileSystem.h"
00008    
00009     extern SDFileSystem sd;
00010     extern I2C i2c;
00011     extern Serial pc;
00012     extern InterruptIn SENtral_InterruptPin;
00013     
00014 // These LEDs and PBSwitch are Not part of the RM3100RTI Arduino Shield.    
00015     extern DigitalOut green_LED;
00016     extern DigitalIn pushButton;
00017 
00018     u32 em7186_i2c_write(u8 registerAddress, u8* buffer, u16 length);
00019     u32 em7186_i2c_read(u8 registerAddress, u8* buffer, u16 length);
00020     u32 EE_Write(u8 I2C_Addr, u16 EE_MemAddr, u8*buffer, u16 length);
00021     u32 EE_Read(u8 I2C_Addr, u16 EE_MemAddr, u8*buffer, u16 length);
00022 
00023 
00024 #endif