Difference between revisions of "Gb.display.println"

From Gamebuino Wiki
Jump to: navigation, search
(Creation)
 
(description changed to link to gb.display.print)
 
Line 2: Line 2:
 
__NOTOC__
 
__NOTOC__
 
== Description ==
 
== Description ==
Prints text to the screen and then goes down a line. For setting the location to print to use [[gb.display.cursorX]] and [[gb.display.cursorY]].
+
== Description ==
After printing text/numbers, the cursor will be a line (equivalent to the current font height) lower.
+
Prints data to the screen followed by a carriage return character (ASCII 13, or '\r') and a newline character (ASCII 10, or '\n'). This command takes the same forms as [[gb.display.print]]().
 
 
  
 
== Syntax ==
 
== Syntax ==

Latest revision as of 2014-08-12T20:50:53

Description

Description

Prints data to the screen followed by a carriage return character (ASCII 13, or '\r') and a newline character (ASCII 10, or '\n'). This command takes the same forms as gb.display.print().

Syntax

gb.display.println(text or numbers);

Value

  • text: any string of any length. Can also be F("text").
  • numbers: any numbers.

Example

See also