Revision 1948
Fixed tiny bug
trunk/code/projects/linefollowing/lineFollow.h | ||
---|---|---|
24 | 24 |
//! Anything higher than this value is black |
25 | 25 |
#define BLACK_THRESHOLD 350 |
26 | 26 |
|
27 |
#define LEFT_SENSOR 1 |
|
28 |
#define RIGHT_SENSOR 0 |
|
29 |
|
|
27 | 30 |
/** |
28 | 31 |
* @brief Initializes line following. |
29 | 32 |
* |
trunk/code/projects/linefollowing/Makefile | ||
---|---|---|
11 | 11 |
USE_WIRELESS = 1 |
12 | 12 |
|
13 | 13 |
# com1 = serial port. Use lpt1 to connect to parallel port. |
14 |
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB1'; fi)
|
|
14 |
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
|
|
15 | 15 |
|
16 | 16 |
else |
17 | 17 |
COLONYROOT := ../$(COLONYROOT) |
Also available in: Unified diff