Thats a 5:1 divider, 12V in should get you 2.4V out, not high enough for a digital input, you could connect to an analog input and test for greater than 2V.
Thats a 5:1 divider, 12V in should get you 2.4V out, not high enough for a digital input, you could connect to an analog input and test for greater than 2V.