-
Notifications
You must be signed in to change notification settings - Fork 3
Estructuras de control
gism edited this page Feb 1, 2015
·
1 revision
##if
if (x<5){
haz=algo;
} else {
haz=otro;
}##switch
switch (myvar) {
case 1:
accion1();
break;
case 2:
accion2();
break;
default:
}##while
i=0;
while(i<10000){
hazlounmontondeveces();
i=i+1;
}##for
for (int i=0; i <= 255; i++){
hazlounmontondeveces();
}HOME > [Bases de C](Bases de C)
[Bases de C](Bases de C)
- [Cheatsheet!] (https://dlnmh9ip6v2uc.cloudfront.net/learn/materials/8/Arduino_Cheat_Sheet.pdf)
- [Variables] (Variables)
- [Estructuras] (Estructuras)
- [Estructuras de control] (Estructuras de control)