OK got the post of Melanie

http://www.picbasic.co.uk/forum/show...52&postcount=3

So now, depending of your current stuff, you may use Interrupts (on PORT change, INT0, INT..., Analog comparator...) or polling the PIN for a low level. quite simple to do.