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: ChaNFSSD mbed BMP085 SHT2x
libT/portable/tversion.h@1:83960ee4d9a2, 2012-01-13 (annotated)
- Committer:
- tosihisa
- Date:
- Fri Jan 13 10:15:08 2012 +0000
- Revision:
- 1:83960ee4d9a2
- Parent:
- 0:6089ae824f06
add 5-sec wait before using CO2-sensor
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| tosihisa | 1:83960ee4d9a2 | 1 | /* |
| tosihisa | 1:83960ee4d9a2 | 2 | * Copyright (c) 2011 Toshihisa T |
| tosihisa | 1:83960ee4d9a2 | 3 | * Released under the MIT License: http://mbed.org/license/mit |
| tosihisa | 1:83960ee4d9a2 | 4 | */ |
| tosihisa | 0:6089ae824f06 | 5 | |
| tosihisa | 0:6089ae824f06 | 6 | #ifndef __TVERSION_H |
| tosihisa | 0:6089ae824f06 | 7 | #define __TVERSION_H |
| tosihisa | 0:6089ae824f06 | 8 | |
| tosihisa | 0:6089ae824f06 | 9 | namespace libT { |
| tosihisa | 0:6089ae824f06 | 10 | |
| tosihisa | 0:6089ae824f06 | 11 | class tVersion { |
| tosihisa | 0:6089ae824f06 | 12 | public: |
| tosihisa | 0:6089ae824f06 | 13 | tVersion(unsigned long _major,unsigned long _minor) : major(_major),minor(minor) {} |
| tosihisa | 0:6089ae824f06 | 14 | |
| tosihisa | 0:6089ae824f06 | 15 | unsigned long getMajorVersion(void) const { return major; } |
| tosihisa | 0:6089ae824f06 | 16 | unsigned long getMinorVersion(void) const { return minor; } |
| tosihisa | 0:6089ae824f06 | 17 | |
| tosihisa | 0:6089ae824f06 | 18 | private: |
| tosihisa | 0:6089ae824f06 | 19 | unsigned long major; |
| tosihisa | 0:6089ae824f06 | 20 | unsigned long minor; |
| tosihisa | 0:6089ae824f06 | 21 | }; |
| tosihisa | 0:6089ae824f06 | 22 | |
| tosihisa | 0:6089ae824f06 | 23 | }; |
| tosihisa | 0:6089ae824f06 | 24 | |
| tosihisa | 0:6089ae824f06 | 25 | #endif /* __TVERSION_H */ |