Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: inc/lut.h
- Revision:
- 25:8bcc8bea0e31
- Parent:
- 22:2c37ac12746e
- Child:
- 30:d8721a46ee03
diff -r 078f62c8d0ed -r 8bcc8bea0e31 inc/lut.h --- a/inc/lut.h Fri Jan 18 20:17:55 2019 +0000 +++ b/inc/lut.h Sun Jan 20 16:56:52 2019 +0000 @@ -32,12 +32,17 @@ #include "mbed.h" #include "parameters.h" -#define MAX_LUT_ENTRIES 1024 +extern unsigned int max_boards; +//extern unsigned int bCodeArray[][]; +extern unsigned int bCodeRow[]; + +//#define MAX_LUT_ENTRIES 1024 #define LUT_MAX_ADC ADC_MAX_VALUE/2 -const unsigned int LUT_SCALE_FACTOR = LUT_MAX_ADC/MAX_LUT_ENTRIES; +//const unsigned int LUT_SCALE_FACTOR = LUT_MAX_ADC/MAX_LUT_ENTRIES; -const float LUT_VER = 1.3; +const float LUT_VER = 1.5; +void getLUT_binCodeArray(unsigned short); unsigned int getLUT_binCode(unsigned short); unsigned int getLUT_thermCode(unsigned short);