robobuggy / arduino / RadioBuggyMega / filter.h @ 6b9a71b0
History | View | Annotate | Download (298 Bytes)
1 |
/**
|
---|---|
2 |
* @file filter.h
|
3 |
* @brief Filter to filter data from rc_available
|
4 |
*
|
5 |
* @author: Audrey Yeoh (ayeoh)
|
6 |
*
|
7 |
*/
|
8 |
|
9 |
#ifndef _FILTER_H_
|
10 |
#define _FILTER_H_
|
11 |
|
12 |
#ifdef __cplusplus
|
13 |
extern "C"{ |
14 |
#endif
|
15 |
|
16 |
|
17 |
int filter(int val); // returns the int that has been filtered |
18 |
|
19 |
|
20 |
#ifdef __cplusplus
|
21 |
} |
22 |
#endif
|
23 |
|
24 |
#endif
|
25 |
|
26 |
|