Prelude won't start, fast clicking+flashing, no crank
About 2 weeks ago my car wouldn't start and I figured it was the main relay so I pushed it to a local shop, they diagnostic tested it and told me it was a faulty viper alarm system so they ripped that out and redid my wiring, started up no problem for about a week and a half, I drove the car about 100 miles to my parents house and on the way back about 20 miles in I got a check engine light, it was late and I had to get back for work so I just drive the 80 miles hoping it was nothing serious. I may have been wrong... I parked the car at home and popped the hood engine sounded normal wasn't overheating or anything. So the next morning I go to start it and I get this fast clicking noise coming from my driver side dash, no crank at all, also the lights on the dash are flickering including the check engine light. I tried the key in the on position about 3 times and on the 3rd time for about 20 seconds, I tested the battery and alternator, they are fine. I tried again today (the next day) and still same thing.
Any thoughts?
Thanks for any help in advance