adicionar butão para soma e diminuir no arduino

int myPins[] = {3, 5, 6, 9, 10};

void setup() {
Serial.begin(9600);
int i;
for (i = 0; i < 5; i = i + 1) {
pinMode(myPins*, OUTPUT);*

  • }*

}

void loop() {

  • int i;*

  • for(i = 0; i < 32; i++) {*

  • Serial.println(i);*

  • digitalWrite(myPins[0], bitRead(i,0));*

  • digitalWrite(myPins[1], bitRead(i,1));*

  • digitalWrite(myPins[2], bitRead(i,2));*

  • digitalWrite(myPins[3], bitRead(i,3));*

  • digitalWrite(myPins[4], bitRead(i,4));*

  • digitalWrite(7,1);*

  • delay(100);*

  • digitalWrite(7,0);*

  • delay(500);*

  • }*
    }

You have posted in the English language section but your title is in another language - perhaps Portuguese? There is a Portuguese section of the Forum.

In any case, you need to explain what you want help with.

...R