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: EthernetInterface LM75B mbed-rtos mbed
temperature.h@6:4f13276fd1e2, 2018-03-18 (annotated)
- Committer:
- RobinMechele
- Date:
- Sun Mar 18 15:57:55 2018 +0000
- Revision:
- 6:4f13276fd1e2
- Parent:
- 0:29eeb74e55c6
Documentatie toegevoegd bij alle deelklassen (temperatuur, potentiometer, led, lcd, buzzer) + master.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
RobinMechele | 0:29eeb74e55c6 | 1 | #ifndef temperature_h |
RobinMechele | 0:29eeb74e55c6 | 2 | #define temperature_h |
RobinMechele | 0:29eeb74e55c6 | 3 | #include "mbed.h" |
RobinMechele | 0:29eeb74e55c6 | 4 | #include "LM75B.h" |
RobinMechele | 0:29eeb74e55c6 | 5 | |
RobinMechele | 0:29eeb74e55c6 | 6 | class Temperature |
RobinMechele | 0:29eeb74e55c6 | 7 | { |
RobinMechele | 0:29eeb74e55c6 | 8 | public: |
RobinMechele | 6:4f13276fd1e2 | 9 | Temperature(); //Constructor |
RobinMechele | 6:4f13276fd1e2 | 10 | |
RobinMechele | 6:4f13276fd1e2 | 11 | /** |
RobinMechele | 6:4f13276fd1e2 | 12 | * Deze methode zal de temperatuur waarde terug geven als een float. |
RobinMechele | 6:4f13276fd1e2 | 13 | * Geen parameters nodig. |
RobinMechele | 6:4f13276fd1e2 | 14 | */ |
RobinMechele | 0:29eeb74e55c6 | 15 | float getTemperature(); |
RobinMechele | 0:29eeb74e55c6 | 16 | }; |
RobinMechele | 0:29eeb74e55c6 | 17 | |
RobinMechele | 0:29eeb74e55c6 | 18 | #endif |