Treehouse Mbed Team / Mbed 2 deprecated APS_DCM1SL

Dependencies:   mbed

inc/lut.h

Committer:
mfwic
Date:
2019-03-14
Revision:
53:004a9674e922
Parent:
44:741ee27c8a34

File content as of revision 53:004a9674e922:

//-------------------------------------------------------------------------------
// 
//  Treehouse Designs Inc.
//  Colorado Springs, Colorado
// 
//  Copyright (c) 2016 by Treehouse Designs Inc. 
//  Copyright (c) 2018 by Agility Power Systems Inc. 
// 
//  This code is the property of Treehouse Designs, Inc. (Treehouse) and
//  Agility Power Systems Inc. (Agility) and may not be redistributed
//  in any form without prior written permission from 
//  both copyright holders, Treehouse and Agility.
//
//  The above copyright notice and this permission notice shall be included in
//  all copies or substantial portions of the Software.
// 
//   
//-------------------------------------------------------------------------------
// 
//  REVISION HISTORY:
//  
//   $Author: $
//   $Rev: $
//   $Date: $
//   $URL: $
// 
//-------------------------------------------------------------------------------

#ifndef lut_H
#define lut_H

#include "mbed.h"
#include "parameters.h"

extern unsigned short max_boards;
extern unsigned int bCodeRow[];

#define LUT_MAX_ADC ADC_MAX_VALUE/2

const float LUT_VER = 1.5;

void getLUT_binCodeArray(unsigned short);
unsigned int getLUT_thermCode(unsigned short);

#endif