HW6 for OCE560

Dependencies:   mbed

Fork of shomberg_hw_5 by Russell Shomberg

OCE360Input.h

Committer:
rshomberg
Date:
2018-10-25
Revision:
12:ea407dcaff78
Parent:
11:42914083ac70
Child:
13:fa74bf0c3b8d

File content as of revision 12:ea407dcaff78:

#ifndef OCE360INPUT_H
#define OCE360INPUT_H

#include "mbed.h"
DigitalIn myswitch(p7);
AnalogIn Ain(p20);

int read_switch(void);

float read_sensor(void);

float convert_mV_to_temp(float sensorVoltage);

#endif