Difference between revisions of "Gb.getDefaultName"
From Gamebuino Wiki
m (→Example: added name in begin()) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{lowercase}} |
__NOTOC__ | __NOTOC__ | ||
== Description == | == Description == | ||
Line 14: | Line 14: | ||
== Example == | == Example == | ||
− | < | + | <gistit>https://github.com/Rodot/Gamebuino/blob/master/libraries/Gamebuino/examples/5.Reference/core/getDefaultName/getDefaultName.ino</gistit> |
− | |||
− | |||
− | Gamebuino | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </ | ||
== See also == | == See also == | ||
*[[bootloader]] | *[[bootloader]] | ||
*[http://arduino.cc/en/Reference/String string (Arduino reference)] | *[http://arduino.cc/en/Reference/String string (Arduino reference)] |
Latest revision as of 2014-05-20T21:04:18
Description
Gets the default user name set using the program SETTINGS.HEX. The default name is set in the Gamebuino's memory so it's the same in every game.
Syntax
gb.getDefaultName(name);
Parameters
- name (char*): a 10 char long string which will receive the default user name.
Returns
none
Example