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
mbed_objects.h@9:fd5bf0a4c774, 2019-08-07 (annotated)
- Committer:
- pni_olesik
- Date:
- Wed Aug 07 23:38:35 2019 +0000
- Revision:
- 9:fd5bf0a4c774
- Parent:
- 1:b0a205c9b958
em7186.cpp line 927 missing brackets around one of the cases causes a warning, but in later Mbed OS causes an Error.
Who changed what in which revision?
User | Revision | Line number | New 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 DigitalIn pushButton; |
JoeMiller | 0:02c0c2cbc3df | 17 | |
JoeMiller | 0:02c0c2cbc3df | 18 | u32 em7186_i2c_write(u8 registerAddress, u8* buffer, u16 length); |
JoeMiller | 0:02c0c2cbc3df | 19 | u32 em7186_i2c_read(u8 registerAddress, u8* buffer, u16 length); |
JoeMiller | 0:02c0c2cbc3df | 20 | u32 EE_Write(u8 I2C_Addr, u16 EE_MemAddr, u8*buffer, u16 length); |
JoeMiller | 0:02c0c2cbc3df | 21 | u32 EE_Read(u8 I2C_Addr, u16 EE_MemAddr, u8*buffer, u16 length); |
JoeMiller | 0:02c0c2cbc3df | 22 | |
JoeMiller | 0:02c0c2cbc3df | 23 | |
JoeMiller | 0:02c0c2cbc3df | 24 | #endif |