Arduino Function: RobotControl.userNameWrite

Description

This function stores your name into EEPROM.

Syntax

Robot.userNameWrite(name)

Parameters

name: string to be stored

Examples

#include 

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

void loop(){
 Robot.userNameWrite("Paul");
 Robot.robotNameWrite("Robocop");
 Robot.cityNameWrite("Paris");
 Robot.countryNameWrite("France");

 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