Arduino Function: RobotControl.countryNameWrite

Description

This function stores the user's country name into EEPROM.

Syntax

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