Arduino Function: RobotControl.cityNameWrite

Description

This function stores your city's name into EEPROM.

Syntax

Robot.cityNameWrite(name)

Parameters

name: string to be stored

Examples

#include 

void setup(){
  Serial.begin(9600);
  Robot.begin();
}

void loop(){
  Robot.userNameWrite("Aaa");
  Robot.robotNameWrite("The Robot");
  Robot.cityNameWrite("Malmo");
  Robot.countryNameWrite("Sweden");

  Serial.println(Robot.userNameRead());
  Serial.println(Robot.robotNameRead());
  Serial.println(Robot.cityNameRead());
  Serial.println(Robot.countryNameRead());
}


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc