Modifications

Sauter à la navigation Sauter à la recherche
1 435 octets ajoutés ,  17 septembre 2013 à 13:21
Page créée avec « {{Arduino-Robot-NAV}} <h4>userNameReas()</h4> == Description == Lit le nom de la ville stocké dans l'EEPROM. Le nom est stocké à l'aide de cityNameWrite(). l'EEPROM n'es... »
{{Arduino-Robot-NAV}}

<h4>userNameReas()</h4>

== Description ==
Lit le nom de la ville stocké dans l'EEPROM. Le nom est stocké à l'aide de cityNameWrite(). l'EEPROM n'est pas effacée lorsque le robot est éteint et peut être lu à n'importe quel moment.

== Syntaxe ==

Robot.cityNameRead(container)

== Paramètres ==

'''container''': un tableau de 8 caractères (char array).

== Résultat ==

aucun

== Exemple ==

<nowiki>#include <ArduinoRobot.h>

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

== Voir aussi ==
* [[RB-ARD-ROBOT-Func-userNameWrite|userNameWrite()]]
* [[RB-ARD-ROBOT-Func-robotNameWrite|robotNameWrite()]]
* [[RB-ARD-ROBOT-Func-cityNameWrite|cityNameWrite()]]
* [[RB-ARD-ROBOT-Func-countryNameWrite|countryNameWrite()]]
* [[RB-ARD-ROBOT-Func-userNameRead|userNameRead()]]
* [[RB-ARD-ROBOT-Func-robotNameRead|robotNameRead()]]
* [[RB-ARD-ROBOT-Func-cityNameRead|cityNameRead()]]
* [[RB-ARD-ROBOT-Func-countryNameRead|countryNameRead()]]

{{Arduino-Robot-TRAILER}}
29 917

modifications

Menu de navigation