Revision 1280
Implemented ibom_set and ibom_read functions.
hardware_ibom.h | ||
---|---|---|
5 | 5 |
#include "global.h" |
6 | 6 |
|
7 | 7 |
/* |
8 |
* Inverse BOM sensor macros for (N)orth, |
|
9 |
* (S)outh, (E)ast, and (W)est positions. |
|
8 |
* Inverse BOM sensor macros for left, right, and top positions. |
|
10 | 9 |
*/ |
11 | 10 |
// FIXME do it right |
12 | 11 |
#define IBOM_SENSOR_LEFT AN3 |
... | ... | |
14 | 13 |
#define IBOM_SENSOR_TOP AN5 |
15 | 14 |
//#define IBOM_SENSOR_ AN6 |
16 | 15 |
|
16 |
#define IBOM_EMITTER_PIN PIN_A5 |
|
17 |
|
|
17 | 18 |
void ibom_init (void); |
18 | 19 |
|
19 | 20 |
void ibom_set (bool on); |
Also available in: Unified diff