Differential pressure meter
Dependencies: TFT_Touch_WaveShare
system.h@0:619824763516, 2018-04-03 (annotated)
- Committer:
- igbt6
- Date:
- Tue Apr 03 20:08:35 2018 +0000
- Revision:
- 0:619824763516
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
igbt6 | 0:619824763516 | 1 | #ifndef SYSTEM_H |
igbt6 | 0:619824763516 | 2 | #define SYSTEM_H |
igbt6 | 0:619824763516 | 3 | |
igbt6 | 0:619824763516 | 4 | #include <stdint.h> |
igbt6 | 0:619824763516 | 5 | |
igbt6 | 0:619824763516 | 6 | #define HIGH 1 |
igbt6 | 0:619824763516 | 7 | #define LOW 0 |
igbt6 | 0:619824763516 | 8 | |
igbt6 | 0:619824763516 | 9 | template<typename T, typename U> |
igbt6 | 0:619824763516 | 10 | struct is_same |
igbt6 | 0:619824763516 | 11 | { |
igbt6 | 0:619824763516 | 12 | static const bool value = false; |
igbt6 | 0:619824763516 | 13 | }; |
igbt6 | 0:619824763516 | 14 | |
igbt6 | 0:619824763516 | 15 | template<typename T> |
igbt6 | 0:619824763516 | 16 | struct is_same<T,T> //specialization |
igbt6 | 0:619824763516 | 17 | { |
igbt6 | 0:619824763516 | 18 | static const bool value = true; |
igbt6 | 0:619824763516 | 19 | }; |
igbt6 | 0:619824763516 | 20 | |
igbt6 | 0:619824763516 | 21 | |
igbt6 | 0:619824763516 | 22 | #endif |