Concept code which launches two threads, one of which implements a Modbus Tunnel protocol to talk with an ISEM, the other which launches a Modbus RTU protocol to talk to a CPUM (most of the Modbus code has been removed prior to publishing.) A canned AC and DC spectra is provided to display wave forms on start-up however the project normally polls for spectra from the ISEM and then plots is (that functionality has been removed prior to publishing.)
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI mbed-os BSP_DISCO_F429ZI
Plot of the initial start-up canned AC and DC spectra.
NextGen-Exerciser-Defines.h
- Committer:
- Damotclese
- Date:
- 2019-05-31
- Revision:
- 2:346119b3db6c
- Parent:
- 0:387684ec9d92
File content as of revision 2:346119b3db6c:
// ---------------------------------------------------------------------- // NextGen-Exerciser-Defines.h // // Fredric L. Rice, May 2019 // // ---------------------------------------------------------------------- // Normally for mbed projects we would use "true" and "false" // lower case however we define TUE and FALSE as well #ifndef TRUE #define TRUE true #endif #ifndef FALSE #define FALSE false #endif // ---------------------------------------------------------------------- // Messages passed to threads via their mailbox objects look like this. // // ---------------------------------------------------------------------- typedef struct { unsigned char ach_message[512]; unsigned short u16_size; } st_pendingMessage; // End of file