Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unsigned int tamanho;
- unsigned int corte;
- unsigned int number1;
- unsigned int number = 10;
- void setup()
- {
- Serial.begin(9600);
- }
- void loop()
- {
- for(unsigned int i = number; i>0; i--)
- {
- digitalWrite(tamanho, HIGH);
- delay(number1*1000);
- digitalWrite(tamanho, LOW);
- delay(500);
- digitalWrite(corte, HIGH);
- delay(500);
- digitalWrite(corte, LOW);
- delay(500);
- //printNumber(number);
- Serial.println(i);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement