Reference.RobotCityNameRead History

Hide minor edits - Show changes to markup

May 03, 2013, at 11:26 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 city name stored in EEPROM. This can be set by cityNameWrite().

to:

Read your city's name stored in EEPROM. This can be set by cityNameWrite().

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

cityNameRead(container)

to:

Robot?

cityNameRead()

Changed lines 7-8 from:

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

to:

Read the user's city name stored in EEPROM. This can be set by cityNameWrite().

Syntax

Robot.cityNameRead(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.

Changed line 59 from:
to:
April 11, 2013, at 11:20 PM by Xun Yang -
Changed lines 1-2 from:

cityNameRead()

to:

cityNameRead(container)

Changed lines 5-6 from:

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

to:

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

Added lines 9-12:

container: a char array of the length 8.

Returns

Deleted lines 14-17:

Returns

none

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);
April 11, 2013, at 11:07 PM by Xun Yang -
Added lines 1-47:

Share