Reference.RobotUpdateIR History

Hide minor edits - Show changes to markup

May 15, 2013, at 09:23 AM by Scott Fitzgerald -
Changed lines 17-18 from:

none

to:

Robot.IRarray[] : contains the values of the 5 sensors

May 14, 2013, at 09:35 AM by Scott Fitzgerald -
Changed lines 7-8 from:

Reads the values of the 5 IR line-reading sensors on the underside of the robot and stores the values in an array. The array that can be accessed through Robot.IRarray[] . This function needs to be called from the Control Board.

to:

Reads the values of the 5 IR line-reading sensors on the underside of the robot and stores the values in an array. This array can be accessed through Robot.IRarray[]. This function needs to be called from the Control Board.

To obtain the reading from a specific IR sensor, use IRRead() on the Motor Board.

May 14, 2013, at 09:32 AM by Scott Fitzgerald -
Changed lines 7-8 from:

Reads the values of the 5 IR line-reading sensors on the underside of the robot and stores the values in an array. The array that can be accessed through Robot.IRarray[] .

to:

Reads the values of the 5 IR line-reading sensors on the underside of the robot and stores the values in an array. The array that can be accessed through Robot.IRarray[] . This function needs to be called from the Control Board.

May 03, 2013, at 11:17 AM by Xun Yang -
Changed lines 1-2 from:
to:
April 14, 2013, at 10:06 PM by David Cuartielles -
Changed line 28 from:
  for(int i=0;i<4;i++){
to:
  for(int i=0;i<=4;i++){
April 14, 2013, at 10:40 AM by Scott Fitzgerald -
Added lines 1-2:
Changed lines 7-8 from:

Updates the values of the line following sensors. The IR sensor information is contained in an array under Robot.IRarray[]. It stores the analog readings coming from the 5 sensors underneath the motor board.

to:

Reads the values of the 5 IR line-reading sensors on the underside of the robot and stores the values in an array. The array that can be accessed through Robot.IRarray[] .

Changed line 18 from:
to:
April 12, 2013, at 09:49 PM by Xun Yang -
Changed lines 5-6 from:

Updates the values of the line following sensors. The IR sensor information is contained in an array under Robot.IR[]. It stores the analog readings coming from the 5 sensors underneath the motor board.

to:

Updates the values of the line following sensors. The IR sensor information is contained in an array under Robot.IRarray[]. It stores the analog readings coming from the 5 sensors underneath the motor board.

Changed line 27 from:
    Serial.print(Robot.IR[i]); // print the values to the serial port
to:
    Serial.print(Robot.IRarray[i]); // print the values to the serial port
April 09, 2013, at 07:47 PM by David Cuartielles -
Added lines 1-39:

Share