Pls help me button controll

For led array.

  • Programming the effect of 3 LEDs chasing each other
  • Use the button to press and release 3 times to reverse the direction of the LED array

    mes to reverse the direction of the LED array

I moved your topic to an appropriate forum category @newperson2.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

2 Likes

Welcome to the forum

What have you written so far ?
Can you turn a single LED on and off ?
Can you turn on a series of LEDs in turn ?
Can you read the state of the input from the button ?
Can you count how many times the button has been pressed ?

You mention a "LED array". An array is going to be very important in your program

Is this an assignment that you want help with ?

1 Like

At last, another instructor with a new idea.

Or the knowledge that multiplication by two effects a left shift.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.