HW6 for OCE560

Dependencies:   mbed

Fork of shomberg_hw_5 by Russell Shomberg

OCE360Input.h

Committer:
rshomberg
Date:
2018-10-30
Revision:
14:b3c87a7c7689
Parent:
13:fa74bf0c3b8d

File content as of revision 14:b3c87a7c7689:

#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