Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed
Fork of ICE by
Diff: inc/global.h
- Revision:
- 51:66b820f203a5
- Parent:
- 48:1c7861d80d16
- Child:
- 52:e25c857451b6
--- a/inc/global.h Tue Sep 13 16:00:45 2016 +0000 +++ b/inc/global.h Tue Sep 13 21:29:24 2016 +0000 @@ -40,8 +40,16 @@ char controlFile[64]; } Message_t; +// output control request message +typedef struct output_control_req_t { + string relay; + enum State { ON, OFF }; + unsigned int priority; +} OutputControlReq_t; + extern Mail<Message_t, 16> MailBox; extern Mail<Message_t, 16> ModbusMasterMailBox; +extern Mail<OutputControlReq_t, 16> OutputMasterMailBox; extern ntshell_t ntshell;