Arduino Function: RobotControl.robotNameWrite

Description

This function store the robot's name into EEPROM.

Syntax

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