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_temp.h@18:be0130c42925, 2015-12-18 (annotated)
- Committer:
- Jan Tetour
- Date:
- Fri Dec 18 20:00:56 2015 +0100
- Revision:
- 18:be0130c42925
- Parent:
- 11:e89f89c0920b
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_TEMP.H |
| Jan Tetour | 18:be0130c42925 | 3 | */ |
| dzoni | 9:645f0e517017 | 4 | #ifndef TSK_TEMP_H |
| dzoni | 9:645f0e517017 | 5 | #define TSK_TEMP_H |
| dzoni | 9:645f0e517017 | 6 | |
| dzoni | 9:645f0e517017 | 7 | struct temp_data_struct { |
| dzoni | 9:645f0e517017 | 8 | uint32_t temp_raw; |
| dzoni | 9:645f0e517017 | 9 | float temperature; |
| dzoni | 9:645f0e517017 | 10 | }; |
| dzoni | 9:645f0e517017 | 11 | |
| dzoni | 9:645f0e517017 | 12 | extern struct temp_data_struct temp_data; |
| dzoni | 9:645f0e517017 | 13 | |
| dzoni | 11:e89f89c0920b | 14 | extern uint32_t initDS1620Temp(void const *args); |
| dzoni | 9:645f0e517017 | 15 | extern void temp_thread(void const *args); |
| dzoni | 9:645f0e517017 | 16 | |
| dzoni | 9:645f0e517017 | 17 | #endif |