$ 0 0 when your micro has the comparator, you could use the getad2051 but otherwise you need an external a/d converter.