Arduino Function: RobotControl.countryNameRead

Description

This function reads your country's name stored in EEPROM. This is set by userNameWrite().

Syntax

Robot.countryNameRead(container)

Parameters

container: a char array of 8 elements.

Examples

#include 

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

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

  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);
}


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