Pranoy Varma
/
mbed_hkfinal
hk tentative jul 9
Fork of mbed_hkfinal by
hkfinal.h
- Committer:
- pranoysvarma
- Date:
- 2014-07-09
- Revision:
- 1:8b8bc4aef6f9
- Parent:
- 0:333cda053c40
File content as of revision 1:8b8bc4aef6f9:
#include "mbed.h" DigitalOut SelectLine3 (p24); // MSB of Select Lines DigitalOut SelectLine2 (p23); DigitalOut SelectLine1 (p22); DigitalOut SelectLine0 (p21); // LSB of Select Lines AnalogIn CurrentInput(p15); // Input from Current Multiplexer AnalogIn VoltageInput(p16); // Input from Voltage Multiplexer AnalogIn TemperatureInput(p17); // input from Temperature Multiplexer #define tstart -40 #define tstep 8 #define vstart 3.3 #define vstep 0.84667 #define cstart 0.0691 #define cstep 0.09133 #define rsens 0.095 void FUNC_HK_MAIN(); int quantiz(float start,float step,float x);