add linear lookup
This commit is contained in:
parent
681c514a18
commit
f2fe41017b
1040
examples/osd/arduino-roller/klin.c
Normal file
1040
examples/osd/arduino-roller/klin.c
Normal file
File diff suppressed because it is too large
Load diff
15
examples/osd/arduino-roller/klin.h
Normal file
15
examples/osd/arduino-roller/klin.h
Normal 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_ */
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
"#LowValue";12345
|
||||
"#HighValue";6666
|
||||
"#LowValue";0
|
||||
"#HighValue";1023
|
||||
"#DataType";"uint16_t"
|
||||
"#IndexType";"uint16_t"
|
||||
"#ArrayName";"Daumengas"
|
||||
|
|
|
Loading…
Reference in a new issue