Cheap and good way to feed 12v digital input

Grumpy_Mike:

Actually I am not using it to trigger any arduino pin..

So what are you using it for?

I have mentioned it on my previous post. I am actually using it to trigger a SMD 8 Pin PIC Microcontoller..

The main target is to make the PCB as tiny as possible and making it cheap retaining the quality, as it will be mass produced..