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

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

Committer:
JoeMiller
Date:
Wed Jul 20 23:03:48 2016 +0000
Revision:
0:02c0c2cbc3df
Child:
1:b0a205c9b958
Initial Release as SENtral Simple Serial Host Interface

Who changed what in which revision?

UserRevisionLine numberNew contents of line
JoeMiller 0:02c0c2cbc3df 1 #ifndef OBJECTS_H
JoeMiller 0:02c0c2cbc3df 2 #define OBJECTS_H
JoeMiller 0:02c0c2cbc3df 3 // The purpose of this file and associated header file is to
JoeMiller 0:02c0c2cbc3df 4 // enable globalization of mbed platform specific objects
JoeMiller 0:02c0c2cbc3df 5 // for all source files to utilize
JoeMiller 0:02c0c2cbc3df 6 #include "main.h"
JoeMiller 0:02c0c2cbc3df 7 #include "SDFileSystem.h"
JoeMiller 0:02c0c2cbc3df 8
JoeMiller 0:02c0c2cbc3df 9 extern SDFileSystem sd;
JoeMiller 0:02c0c2cbc3df 10 extern I2C i2c;
JoeMiller 0:02c0c2cbc3df 11 extern Serial pc;
JoeMiller 0:02c0c2cbc3df 12 extern InterruptIn SENtral_InterruptPin;
JoeMiller 0:02c0c2cbc3df 13
JoeMiller 0:02c0c2cbc3df 14 // These LEDs and PBSwitch are Not part of the RM3100RTI Arduino Shield.
JoeMiller 0:02c0c2cbc3df 15 extern DigitalOut green_LED;
JoeMiller 0:02c0c2cbc3df 16 extern DigitalOut NucleoRedLED; // used only to verify mbed program upload success
JoeMiller 0:02c0c2cbc3df 17 extern DigitalIn pushButton;
JoeMiller 0:02c0c2cbc3df 18
JoeMiller 0:02c0c2cbc3df 19 u32 em7186_i2c_write(u8 registerAddress, u8* buffer, u16 length);
JoeMiller 0:02c0c2cbc3df 20 u32 em7186_i2c_read(u8 registerAddress, u8* buffer, u16 length);
JoeMiller 0:02c0c2cbc3df 21 u32 EE_Write(u8 I2C_Addr, u16 EE_MemAddr, u8*buffer, u16 length);
JoeMiller 0:02c0c2cbc3df 22 u32 EE_Read(u8 I2C_Addr, u16 EE_MemAddr, u8*buffer, u16 length);
JoeMiller 0:02c0c2cbc3df 23
JoeMiller 0:02c0c2cbc3df 24
JoeMiller 0:02c0c2cbc3df 25 #endif