Reference.RobotUserNameRead History

Hide minor edits - Show changes to markup

May 03, 2013, at 11:25 AM by Xun Yang -
Changed lines 1-2 from:
to:
April 14, 2013, at 02:01 PM by Scott Fitzgerald -
Changed lines 7-8 from:

Read the user's name stored in EEPROM. The name is set by userNameWrite(). EEPROM is not erased when the robot is turned off and can be read anytime after being set.

to:

Read the name stored in EEPROM. The name is set by userNameWrite(). EEPROM is not erased when the robot is turned off and can be read anytime after being set.

April 14, 2013, at 01:52 PM by Scott Fitzgerald -
Changed lines 7-8 from:

Read the user's name stored in EEPROM. The name is set by userNameWrite(). EEPROM is not erased when the robot is turned off and can be read anytime after being set..

to:

Read the user's name stored in EEPROM. The name is set by userNameWrite(). EEPROM is not erased when the robot is turned off and can be read anytime after being set.

April 14, 2013, at 01:52 PM by Scott Fitzgerald -
Changed lines 1-2 from:

userNameRead(container)

to:

Robot?

userNameRead()

Changed lines 7-8 from:

Read the user's name stored in EEPROM, which is set by userNameWrite(), into container.

to:

Read the user's name stored in EEPROM. The name is set by userNameWrite(). EEPROM is not erased when the robot is turned off and can be read anytime after being set..

Syntax

Robot.userNameRead(container)

Changed lines 15-16 from:

container: a char array of the length 8.

to:

container: a char array with 8 elements.

Added line 24:
Added line 29:
Deleted lines 50-53:

Note

Information stored in EEPROM will not be lost when power is off. You can always call this function to get the stored data.

April 11, 2013, at 11:14 PM by Xun Yang -
Changed lines 1-2 from:

userNameRead()

to:

userNameRead(container)

Changed lines 5-6 from:

Read the user's name stored in EEPROM, which is set by userNameWrite()

to:

Read the user's name stored in EEPROM, which is set by userNameWrite(), into container.

Added lines 9-12:

container: a char array of the length 8.

Returns

Deleted lines 14-17:

Returns

user's name in string

Changed lines 28-31 from:
  Serial.println(Robot.userNameRead());
  Serial.println(Robot.robotNameRead());
  Serial.println(Robot.cityNameRead());
  Serial.println(Robot.countryNameRead());
to:
  char container[8];
  Robot.userNameRead(container)
  Serial.println(container);

  Robot.robotNameRead(container)
  Serial.println(container);

  Robot.cityNameRead(container)
  Serial.println(container);

  Robot.countryNameRead(container)
  Serial.println(container);
Changed line 55 from:
to:
April 11, 2013, at 11:09 PM by Xun Yang -
Changed lines 13-14 from:

none

to:

user's name in string

April 11, 2013, at 11:02 PM by Xun Yang -
Changed lines 28-31 from:
  Serial.println(Robot.userNameRead("Aaa"));
  Serial.println(Robot.robotNameRead("The Robot"));
  Serial.println(Robot.cityNameRead("Malmo"));
  Serial.println(Robot.countryNameRead("Sweden"));
to:
  Serial.println(Robot.userNameRead());
  Serial.println(Robot.robotNameRead());
  Serial.println(Robot.cityNameRead());
  Serial.println(Robot.countryNameRead());
April 11, 2013, at 10:59 PM by Xun Yang -
Added lines 1-47:

Share