Reference.RobotAnalogWrite History

Hide minor edits - Show changes to markup

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

Writes an analog value (PWM wave) to the specified port on the robot. The board has a 8-bit PWM, allowing for 256 discrete levels.

to:

Writes an analog value as PWM to the specified port on the robot. The board has a 8-bit PWM, allowing for 256 discrete levels.

Robot.analogWrite() only works on TKD4, located on the Control Board. It cannot be used at the same time as TK0 through TK7.

Changed lines 13-14 from:

Robot.analogWrite(portName, value)

to:

Robot.analogWrite(port, value)

Changed lines 17-18 from:

portName: TKD4

to:

port: TKD4

Changed line 36 from:
  Robot.analogWrite((TKD4), x); //increase brightness of an LED on TK0
to:
  Robot.analogWrite(TKD4, x); //increase brightness of an LED on TK0
Changed lines 43-44 from:

Robot.digitalWrite() only applies to TKD4 on Control Board, and you can't use it with TK0 to TK7 at the same time.

to:
Changed lines 46-48 from:
to:

Robot Control Board

May 08, 2013, at 08:21 PM by Xun Yang -
Added lines 40-44:

Note

Robot.digitalWrite() only applies to TKD4 on Control Board, and you can't use it with TK0 to TK7 at the same time.

May 08, 2013, at 07:26 PM by Xun Yang -
Changed line 34 from:
  Robot.analogWrite((TK0), x); //increase brightness of an LED on TK0
to:
  Robot.analogWrite((TKD4), x); //increase brightness of an LED on TK0
May 08, 2013, at 07:26 PM by Xun Yang -
Changed lines 15-16 from:

portName: TK0 to TK7, TDK0 to TDK5, or B_TK1 to B_TK4

to:

portName: TKD4

May 03, 2013, at 11:17 AM by Xun Yang -
Changed lines 1-2 from:
to:
April 14, 2013, at 10:08 AM by Scott Fitzgerald -
Changed lines 7-8 from:

Reads the value from the specified port on the robot. The board has a 10-bit analog to digital converter. This means that it will map input voltages between 0 and 5 volts into integer values between 0 and 1023.

to:

Writes an analog value (PWM wave) to the specified port on the robot. The board has a 8-bit PWM, allowing for 256 discrete levels.

Changed lines 17-18 from:

value : 0 to 1023

to:

value : 0 to 255

April 14, 2013, at 10:06 AM by Scott Fitzgerald -
Added lines 1-44:

Share