Hello, I'm new to Arduino. I have the following problem with for loop()
The LED does not stop, I need to know because it does not stop at ARDUINO, and if MINIBLOQ
Arduino ; print "0,1,2,3,4,0,1,2,3 ...." no stop led
int _i;
void setup()
{
Serial.begin(9600);
pinMode( 13 , OUTPUT);
}
void loop()
{
for (_i=0; _i< ( 5 ); ++_i )
{
digitalWrite( 13 , HIGH );
delay( 200 );
digitalWrite( 13 , LOW );
delay( 200 );
Serial.print( _i );
Serial.println("");
}
}
Arduino + Ardublock ; but does not stop printing
int _ABVAR_1_;
void setup()
{
Serial.begin(9600);
pinMode( 13 , OUTPUT);
}
void loop()
{
for (_ABVAR_1_=0; _ABVAR_1_< ( 5 ); ++_ABVAR_1_ )
{
digitalWrite( 13 , HIGH );
delay( 200 );
digitalWrite( 13 , LOW );
delay( 200 );
Serial.print( _ABVAR_1_ ); print 5,5,5,5,5......
Serial.println("");
}
}
Minibloq ; stops but does not print text
#include "stdlib.h"
#include "IRremote.h"
#include "pitches.h"
#include "Minibloq.h"
void setup()
{
initBoard();
for(unsigned int _i=0; _i<(unsigned int)(5); _i++)
{
DigitalWrite(D13_LED,
delay(100);
DigitalWrite(D13_LED,
delay(100);
}
}
void loop()
{
}
Modkit ; Modkit, stops, I have the Alpha account, I can not see the code and print text
Thanks