Arduino en technologie - Créer son blog
Arduino en technologie - Créer son blog
Arduino en technologie - Créer son blog
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Les tests dans le programme<br />
Si <br />
Si Sinon<br />
Si Sinon Si <br />
Faire Tant que<br />
Tan que <br />
Compteur<br />
Test<br />
if(condition)<br />
{instructions}<br />
if(condition)<br />
{instructions}<br />
else<br />
{instructions}<br />
if(condition)<br />
{instructions}<br />
elseif(condition)<br />
{instructions}<br />
do<br />
{instructions}<br />
while(condition) ;<br />
while(condition)<br />
{instructions}<br />
Dans le programme<br />
for(variable ; condition ; comptage)<br />
{instructions}<br />
Exemples : exécute les instructions 5 fois.<br />
for(variable=0 ; variable == 4 ; variable+=1)<br />
{instruction}<br />
for(int i=0 ; i==4)<br />
{i++<br />
instructions}