Print::println
Description
size_t Print::println( T text [, int base = DEC ] )
Print::print will print stuff to the screen/image/whatever, followed by a line break. That stuff can be a string, or a number. If it is a number you can also specify in which base to print it.
Parameters
- T text: stuff to print
- int base (optional): base to print in. Possible values are DEC, HEX, BIN
Returns
size_t: number of characters printed
Example
#include <Gamebuino-Meta.h>void setup() { gb.begin(); }
void loop() { while(!gb.update()); gb.display.clear();
// print "Hello World" to the screen gb.display.println("Hello World");
// print 42 in hexadecimal gb.display.println(42, HEX); }