All that fucions are easy to program in arduino,no need for 2 button.
There is a section in this forum that deals with microcontrollers .
Only problem is, there are no many people here that are into that section,but others will give you every possible solution on hardware electronics
"No need for 2 button?" Did you actually read the OP's requirements?
if I press a button it needs to stop strobing then it would act like a turn signal based on the button i press (left and right button.)
It looks to me like the OP wants at least two buttons, Left and Right, to act as turn signals when the lights aren't doing their fancy flash dance.
Of what use to the OP is the forum section on microcontrollers, if the OP doesn't express an interest in actually using microcontrollers? There are a LOT of folks here on EP that are willing and able to help with microcontroller projects. What have YOU done to contribute to solving the OP's problem?
There is absolutely nothing wrong with using a 555 timer and a bucketful of TTL or CMOS logic ICs to implement the functionality that the OP described. I would have done this in the 1970s, But this is the 21st Century and there are newer and, IMHO, better ways to accomplish the task. Pick a PIC (any PIC) and add two PB switches and two logic-level MOSFETs. Write a few lines of code, and voila! You are done. Some programming skill, a PICKit 3 programming pod, and some electronics assembly required, but no rocket science is involved.
This is an ideal project for a newbie hobbyist who wants to get involved with microprocessors without spending a lot of money. Unfortunately, from what has been posted so far, the OP is just another "drive by" poster looking for a quick answer.
A few months ago the Tamiami Amateur Radio Club here in Venice, Florida, held a members' auction to allow club members to donate and dispose of their "boat anchor" electronics and earn a little cash for the club. All proceeds of the sale were received by the club treasurer to be spent on club business, as voted by the membership. So, there was a huge crap-pile of semi-ancient "junque" that went really cheap... pennies or less on the dollar of its original cost.
Among those treasures were four NOS (New, Old Stock) stepping switches with multiple decks, such as were used in telephone exchanges to select dialed telephone numbers. Not many people knew what these devices were, much less how to use them. However, I was first exposed to these wonders of mechanical and electrical ingenuity in the 1960s while serving with the U.S. Air Force. I was aware of their existence sometime prior to that, having seen them used in pin-ball machines and in a science fair exhibit wired up as an "electrical calculator"... with NIxie tube read-outs no less! But I had never had the opportunity to "play" with them until my tour of duty that began in May 1963.
It took all the self-restraint that I could muster to NOT place a bid on these switches. But they would have been almost ideal components to implement the flash-dance protocol the OP has asked for, And, no, I am NOT going to provide a schematic on the off chance that the OP can get their hands on a stepping switch. Attached below is a picture of what I am talking about.
The moving contact on these switches always rotates in the same direction (counter- clockwise in the attached image), sequentially making contact with the inwardly protruding radial contacts. Another contact in series with the actuating coil allows the switch to "self step" from one position to the next position by strategically interrupting the coil current after each step. And another contact allows the switch to automatically self-step and then stop at a "home" position.
Wiring two or more of these puppies up would allow an almost infinite number... well, a LARGE number... of flash sequences as "programmed" according to which switch positions were wired to operate the lamps. But the COOLEST thing about such a kludge is the NOISE they make as they ratchet from one position to the next position, very rapidly or under the control of a timer such as the ubiquitous 555 timer. Sounds very 1950ish computer-like: Clackity-clackity-clack-brrrrrpt (as it homes).
One minor disadvantage, IIRC, is the coil requires about 300 V DC at several hundred milliamperes to produce enough force to turn the moving contacts.