void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
//0-10 digital pins need to be setup as OUTPUT pins
for(int i=0; i<11;i++)
{
pinMode(i, OUTPUT);
delay(500); // delay is just used for visualization
Serial.println(i);
}
}
void loop() {
// put your main code here, to run repeatedly:
}
//do while loop is atleast runs even if the conditions are FALSE.