Circuit and Code for Water Level Float Switch

Hi All

I have bought some float sensors (2 wire) on ebay at this link http://www.ebay.com/itm/Water-Level-Sensor-Liquid-Float-Switch-Tank-Pool-/230856221388?ssPageName=ADME:L:OU:AU:3160

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: http://www.gammon.com.au/forum/?id=11955

Hi LarryD,

Bang on, thanks Phil