Reference.RobotDebugPrint History

Hide minor edits - Show changes to markup

May 17, 2013, at 06:05 PM by David Cuartielles -
Changed line 27 from:
  Robot.readyLCD();//Initialize the LCD module
to:
  Robot.readyTFT();//Initialize the TFT module
Changed line 42 from:
to:
May 13, 2013, at 09:38 AM by Scott Fitzgerald -
Changed lines 7-8 from:

Print and refresh a value to the LCD screen. You need to first initialize the LCD screen in setup() by calling Robot.readyLCD().

to:

Print and refresh a value to the LCD screen. You need to first initialize the LCD screen in setup() by calling Robot.readyLCD(). If no starting point is defined, text defaults to starting at 0,0, the top left of the screen.

Changed lines 10-12 from:

Robot.debugPrint(toPrint, x, y)

to:
  • Robot.debugPrint(toPrint)
  • Robot.debugPrint(toPrint, x, y)
Changed lines 14-21 from:

toPrint: value to be printed. Must be int or long.

x: x axis of starting position on the screen. Defaults to 0.

y: y axis of starting position on the screen. Defaults to 0.

to:
  • toPrint: value to be printed. Must be int or long.
  • x: x axis of starting position on the screen.
  • y: y axis of starting position on the screen.
Deleted line 18:
May 08, 2013, at 11:00 PM by Xun Yang -
Changed lines 7-8 from:

Prints values on the LCD screen. This replicates the functionality of Robot.text(). You need to first initialize the LCD screen in setup() by calling Robot.readyLCD().

to:

Print and refresh a value to the LCD screen. You need to first initialize the LCD screen in setup() by calling Robot.readyLCD().

Added lines 42-44:

Note

This is essentially a wrapper around Robot.text() by printing and erasing a single variable. Use it as a convenient way of checking a value without serial monitor. It can only display one variable. Don't move the cursor when using debugPrint().

May 03, 2013, at 11:23 AM by Xun Yang -
Changed lines 1-2 from:
to:
May 01, 2013, at 01:58 PM by Xun Yang -
Added line 47:
Changed lines 49-50 from:
to:
April 14, 2013, at 01:28 PM by Scott Fitzgerald -
Changed lines 1-2 from:

debugPrint(toPrint, x, y)

to:

Robot?

debugPrint()

Changed lines 7-8 from:

A helper function for printing values on the LCD screen.

to:

Prints values on the LCD screen. This replicates the functionality of Robot.text(). You need to first initialize the LCD screen in setup() by calling Robot.readyLCD().

Syntax

Robot.debugPrint(toPrint, x, y)

Added line 29:
Added line 34:
Deleted lines 41-44:

Note

It's basically a wrapper over text().

Changed line 48 from:
to:
April 11, 2013, at 09:05 PM by Xun Yang -
Changed lines 1-2 from:

debugPrint(toPrint)

to:

debugPrint(toPrint, x, y)

Changed lines 9-10 from:

toPrint: must be int or long.

to:

toPrint: value to be printed. Must be int or long.

x: x axis of starting position on the screen. Defaults to 0.

y: y axis of starting position on the screen. Defaults to 0.

Changed line 28 from:
  int val=Robot.analogReadPort(TK0);
to:
  int val=Robot.analogRead(TK0); //Get analog value from port TK0 on top board.
Changed lines 35-37 from:

It's basically a wrapper over eraseOnLCD() and writeOnLCD().

to:

It's basically a wrapper over text().

Changed lines 40-42 from:
to:
Added lines 43-44:
March 29, 2013, at 08:57 PM by Xun Yang -
Changed line 23 from:
  int val=analogReadPort(TK0);
to:
  int val=Robot.analogReadPort(TK0);
March 29, 2013, at 08:57 PM by Xun Yang -
Changed line 23 from:
  int val=analogRead(A0);
to:
  int val=analogReadPort(TK0);
March 29, 2013, at 08:56 PM by Xun Yang -
Added lines 1-38:

Share