lol te vexe pas ![]()
alors appel de fonction:
Fonction:
void hello_word (String hello)
{String hello;
Serial.print(hello);
return 0;
}
appel:
String envoyer ="saluuut";
hello_word(envoyer);
résultat:
sur la liaison série: saluut
si ta fonction n'a pas besoin de paramètre:
void attendre()
{
delay(10000);//attend 10s
}
appel:
attendre();//attend 10s
voila tout simplement =)
Skizo !