HW6 for OCE560

Dependencies:   mbed

Fork of shomberg_hw_5 by Russell Shomberg

OCE360Input.h

Committer:
rshomberg
Date:
2018-10-30
Revision:
13:fa74bf0c3b8d
Parent:
12:ea407dcaff78

File content as of revision 13:fa74bf0c3b8d:

#ifndef OCE360INPUT_H
#define OCE360INPUT_H

#include "mbed.h"

//DigitalIn myswitch(p7); // initialized in the cpp file
//AnalogIn Ain(p20);      // initialized in the cpp file

//int switchPosition;
//int sensorVoltage;
//int sensorTemp; 

int read_switch(void);

float read_sensor(void);

float convert_mV_to_temp(float sensorVoltage);

#endif