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