Project

General

Profile

Revision 1878

Fixed some comments in linefollowing.c

View differences:

trunk/code/projects/linefollowing/lineFollow.h
90 90
*/
91 91
int lost;
92 92

  
93
int onLine(void);
94

  
93 95
#endif
trunk/code/projects/linefollowing/lineFollow.c
153 153
/**
154 154
 * Turns left at a cross of two lines.  Assumes that we are at lines in a cross
155 155
 * pattern, and turns until it sets straight on the new line.
156
 * @return 1 if the turn was executed successfully, 0 otherwise.
156
 * @return 0 if turn finishes otherwise return 1
157 157
 */
158 158
int turnLeft()
159 159
{
......
179 179
/**
180 180
 * Turns right at a cross of two lines.  Assumes that we are at lines in a cross
181 181
 * pattern, and turns until it sets straight on the new line.
182
 * @return 1 if the turn was executed successfully, 0 otherwise.
182
 * @return 0 if the turn finishes otherwise return 1
183 183
 */
184 184
int turnRight()
185 185
{
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/ttyUSB0'; fi)
14
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/tty.usbserial-*'; fi)
15 15

  
16 16
else
17 17
COLONYROOT := ../$(COLONYROOT)

Also available in: Unified diff