Hi guys. I have a 12v AVC sine wave (i.e. -12v to +12v) from which I would like to get a square wave. I just want the frequency so I don't care about the negative side of it. My circuit itself is 5v. What is the simplest way to generate a nice square wave from this? Thanks!