Reference.RobotText History

Hide minor edits - Show changes to markup

May 17, 2013, at 06:03 PM by David Cuartielles -
Changed lines 7-8 from:

Write some text to an attached LCD.

to:

Write some text to an attached TFT.

Changed line 37 from:
  Robot.beginLCD();//Initialize the LCD module
to:
  Robot.beginTFT();//Initialize the TFT module
Changed line 54 from:
to:
May 03, 2013, at 11:23 AM by Xun Yang -
Changed lines 1-2 from:
to:
May 01, 2013, at 02:00 PM by Xun Yang -
Added line 57:
Changed lines 59-60 from:
to:
April 14, 2013, at 12:55 PM by Scott Fitzgerald -
Changed lines 1-2 from:

text(toWrite, x, y, writeOrErase)

to:

Robot?

text()

Changed lines 7-8 from:

Write something on the LCD

to:

Write some text to an attached LCD.

When updating the screen, remember to erase the text before writing new text on the same place, or the new/old text will be overlapping each other.

The screen is only 128 pixels tall and 160 pixels wide. It's recommended to use small values for x and y, or text may be cropped/invisible in unpredictable ways.

Syntax

Robot.text(toWrite, x, y, writeOrErase)

Changed lines 19-20 from:

toWrite: text/value to be written on the LCD. Can be a string, an int value or a long value.

to:

toWrite: text/value to be written on the LCD. Can be a string, an int or a long.

Changed lines 25-26 from:

writeOrErase: specify whether to write the text or erase the text. Either true or false, true for writing and false for erasing

to:

writeOrErase: specify whether to write the text or erase the text. Use true to write and false to erase.

Added line 34:
Added line 39:
Deleted lines 51-57:

Note

The screen size is 128*160, and it's recommended to use small values for x and y, or text may be cropped/invisible in unpredictable ways.

It's important to erase the text before writing new text on the same place, or the new/old text will be overlapping each other.

Changed line 58 from:
to:
April 11, 2013, at 08:36 PM by Xun Yang -
Deleted lines 16-17:

The screen size is 128*160, and it's recommended to use small values for x and y, or text may be cropped/invisible in unpredictable ways.

Added lines 41-44:

The screen size is 128*160, and it's recommended to use small values for x and y, or text may be cropped/invisible in unpredictable ways.

April 11, 2013, at 08:35 PM by Xun Yang -
Added lines 1-51:

Share