program for final combination of working pieces
Dependencies: SDFileSystem TMP102 mbed ISL29125
Fork of TEMP_Test by
UVSensor.cpp@8:28f8162d2929, 2016-03-31 (annotated)
- Committer:
- tdale19
- Date:
- Thu Mar 31 17:53:11 2016 +0000
- Revision:
- 8:28f8162d2929
Program now works for UV as well
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tdale19 | 8:28f8162d2929 | 1 | #include "mbed.h" |
tdale19 | 8:28f8162d2929 | 2 | |
tdale19 | 8:28f8162d2929 | 3 | AnalogIn UVSensor(PTB2); |
tdale19 | 8:28f8162d2929 | 4 | |
tdale19 | 8:28f8162d2929 | 5 | float get_UV(){ |
tdale19 | 8:28f8162d2929 | 6 | return UVSensor; |
tdale19 | 8:28f8162d2929 | 7 | } |