Need help on how to approch 12v digital read on a blinking signal

thanks i will give it a try.