Arduino in Indian Languages
  • Home
  • Download
  • Sign In
    • Sign In
    • Sign Up


for = வரிசையாக

The for statement is used to iterate through a sequence of items. The for statement is useful for any sequential operation.

Example

// Dim an LED using a PWM pin
int PWMpin = 10; // LED in series with 470 ohm resistor on pin 10

void setup()
{
  // no setup needed
}

void loop()
{
   for (int i=0; i <= 255; i++){
      analogWrite(PWMpin, i);
      delay(10);
   } 
} 
	

Have a suggestion for a better local language word for 'for'?


Discuss