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: DS1620_improved TextLCD_improved mbed-rtos mbed
tsk_dist.h@18:be0130c42925, 2015-12-18 (annotated)
- Committer:
- Jan Tetour
- Date:
- Fri Dec 18 20:00:56 2015 +0100
- Revision:
- 18:be0130c42925
- Parent:
- 17:94c385ff2641
Minor formatting changes.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Jan Tetour | 18:be0130c42925 | 1 | /* |
| Jan Tetour | 18:be0130c42925 | 2 | * TSK_DIST.H |
| Jan Tetour | 18:be0130c42925 | 3 | */ |
| dzoni | 9:645f0e517017 | 4 | #ifndef TSK_DIST_H |
| dzoni | 9:645f0e517017 | 5 | #define TSK_DIST_H |
| dzoni | 9:645f0e517017 | 6 | |
| dzoni | 9:645f0e517017 | 7 | struct dist_data_struct { |
| dzoni | 9:645f0e517017 | 8 | uint32_t timerTicks; |
| dzoni | 9:645f0e517017 | 9 | float distance; |
| dzoni | 9:645f0e517017 | 10 | }; |
| dzoni | 9:645f0e517017 | 11 | |
| dzoni | 9:645f0e517017 | 12 | extern struct dist_data_struct dist_data; |
| dzoni | 9:645f0e517017 | 13 | |
| dzoni | 17:94c385ff2641 | 14 | extern uint32_t initDist(void const *args); |
| dzoni | 9:645f0e517017 | 15 | extern void dist_thread(void const *args); |
| dzoni | 9:645f0e517017 | 16 | |
| dzoni | 9:645f0e517017 | 17 | #endif |