Russell Shomberg
/
shomberg_hw_6
HW6 for OCE560
Fork of shomberg_hw_5 by
OCE360Input.h
- Committer:
- rshomberg
- Date:
- 2018-10-25
- Revision:
- 9:da0b72918880
- Child:
- 11:42914083ac70
File content as of revision 9:da0b72918880:
#ifndef OCE360INPUT_H #define OCE360INPUT_H #include "mbed.h" DigitalIn myswitch(p7); AnalogIn Ain(p20); int switchPosition; int sensorVoltage; int sensorTemp; int read_switch(void); float read_sensor(void); float convert_mV_to_temp(float sensorVoltage); #endif