Reference.RobotDigitalRead History

Hide minor edits - Show changes to markup

April 13, 2014, at 10:39 AM by Scott Fitzgerald -
Changed line 30 from:
  Serial.println(Robot.digitalReadPort(TK0)); //Print the value read on port TK0
to:
  Serial.println(Robot.digitalRead(TK0)); //Print the value read on port TK0
May 15, 2013, at 06:48 AM by Scott Fitzgerald -
Added lines 36-37:

Control Board

Changed lines 39-40 from:
to:

Motor Board

May 15, 2013, at 06:47 AM by Scott Fitzgerald -
Changed lines 7-8 from:

Reads the digital value one the defined port.

to:

Reads the digital value one the defined port. These are exposed as TinkerKit connectors on the robot. See the diagrams below for pin locations

Changed lines 15-16 from:

port: Valid names are TK0 to TK7, TKD0 to TKD5, and B_TK1 to B_TK4

to:

port: Valid names are TK0 to TK7 (found on the Control board), TKD0 to TKD5 (on the Control board), and B_TK1 to B_TK4 (on the Motor Board).

May 08, 2013, at 06:36 PM by Xun Yang -
Changed lines 36-37 from:
to:
May 08, 2013, at 06:28 PM by Xun Yang -
Changed lines 15-16 from:

port: Valid names are TK0 to TK7, TDK0 to TDK5, and B_TK1 to B_TK4

to:

port: Valid names are TK0 to TK7, TKD0 to TKD5, and B_TK1 to B_TK4

May 08, 2013, at 06:19 PM by Xun Yang -
Changed lines 35-36 from:
to:
May 03, 2013, at 11:16 AM by Xun Yang -
Changed lines 1-2 from:
to:
April 14, 2013, at 09:47 AM by Scott Fitzgerald -
Changed lines 19-20 from:

HIGH or LOW depend on the value of the specified port.

to:

HIGH or LOW

April 14, 2013, at 09:45 AM by Scott Fitzgerald -
Changed lines 1-3 from:

digitalRead(portName)

to:

Robot?

digitalRead()

Changed lines 7-8 from:

Get the digitalRead value from one of the ports on the robots.

to:

Reads the digital value one the defined port.

Syntax

Robot.digitalRead(portName)

Changed lines 15-16 from:

port: should be either TK0 to TK7, TDK0 to TDK5, or B_TK1 to B_TK4(TKx ports on the motor board)

to:

port: Valid names are TK0 to TK7, TDK0 to TDK5, and B_TK1 to B_TK4

Changed lines 19-20 from:

HIGH or LOW depend on the sensing value of specified port.

to:

HIGH or LOW depend on the value of the specified port.

Changed line 22 from:
to:
Changed line 30 from:
  Serial.println(Robot.digitalReadPort(TK0)); //Print the digital read value of port TK0
to:
  Serial.println(Robot.digitalReadPort(TK0)); //Print the value read on port TK0
Changed line 40 from:
to:
April 09, 2013, at 07:05 PM by David Cuartielles -
Added lines 1-35:

Share