Help with a project

Ok... you set the warning light pin LOW when the speed is greater than 5 and speed * 185/100 is greater than 7. That pin will stay LOW until you change it (or reset).

I think the only thing you have to add is some code in loop() to detect when your button is pressed. When that button is pressed, set the warning light output pin to HIGH.