Circuit and Code for Water Level Float Switch

Hi All

I have bought some float sensors (2 wire) on ebay at this link

Now I don't have a clue on a circuit or code and can not find anything online. I wish to hook this to a Micro.

Thanks All in advance, Phil

I believe this is a simple switch. If you want to use an Arduino, look at this Link:

Hi LarryD,

Bang on, thanks Phil