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
src/ModbusMaster/ModbusMaster.cpp@0:65cfa4873284, 2016-09-01 (annotated)
- Committer:
- jmarkel44
- Date:
- Thu Sep 01 18:57:04 2016 +0000
- Revision:
- 0:65cfa4873284
- Child:
- 4:c35db3946fd8
Base version (threading + messaging based on mbed 5.0);
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| jmarkel44 | 0:65cfa4873284 | 1 | /****************************************************************************** |
| jmarkel44 | 0:65cfa4873284 | 2 | * |
| jmarkel44 | 0:65cfa4873284 | 3 | * File: ModbusMaster.cpp |
| jmarkel44 | 0:65cfa4873284 | 4 | * Desciption: source for the ICE Modbus Master |
| jmarkel44 | 0:65cfa4873284 | 5 | * |
| jmarkel44 | 0:65cfa4873284 | 6 | *****************************************************************************/ |
| jmarkel44 | 0:65cfa4873284 | 7 | #include "global.h" |
| jmarkel44 | 0:65cfa4873284 | 8 | #include <stdio.h> |
| jmarkel44 | 0:65cfa4873284 | 9 | #include "BLEDataHandler.h" |
| jmarkel44 | 0:65cfa4873284 | 10 | |
| jmarkel44 | 0:65cfa4873284 | 11 | /***************************************************************************** |
| jmarkel44 | 0:65cfa4873284 | 12 | * Function: ModbusMaster |
| jmarkel44 | 0:65cfa4873284 | 13 | * Description: entry point for the Modbus Master |
| jmarkel44 | 0:65cfa4873284 | 14 | * |
| jmarkel44 | 0:65cfa4873284 | 15 | * @param (IN) args (user-defined arguments) |
| jmarkel44 | 0:65cfa4873284 | 16 | * @return none |
| jmarkel44 | 0:65cfa4873284 | 17 | *****************************************************************************/ |
| jmarkel44 | 0:65cfa4873284 | 18 | void ModbusMaster(void const *args) |
| jmarkel44 | 0:65cfa4873284 | 19 | { |
| jmarkel44 | 0:65cfa4873284 | 20 | printf("\r%s has started...\n", __func__); |
| jmarkel44 | 0:65cfa4873284 | 21 | |
| jmarkel44 | 0:65cfa4873284 | 22 | while ( true ) { |
| jmarkel44 | 0:65cfa4873284 | 23 | } |
| jmarkel44 | 0:65cfa4873284 | 24 | } |
