add linear lookup

This commit is contained in:
Harald Pichler 2016-01-25 20:48:30 +01:00
parent 681c514a18
commit f2fe41017b
3 changed files with 1057 additions and 2 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,15 @@
#ifndef klin_h_
#define klin_h_
#include <avr/pgmspace.h>
#include <inttypes.h>
/**
* autogenerated lookup function for Daumengas
* @param i x value
* @return f(i), or 6666 if i is out of range
*/
uint16_t lookup_Daumengas(uint16_t i);
#endif /* klin_h_ */

View file

@ -1,5 +1,5 @@
"#LowValue";12345
"#HighValue";6666
"#LowValue";0
"#HighValue";1023
"#DataType";"uint16_t"
"#IndexType";"uint16_t"
"#ArrayName";"Daumengas"

1 #LowValue 12345 0
2 #HighValue 6666 1023
3 #DataType uint16_t
4 #IndexType uint16_t
5 #ArrayName Daumengas