Using an op amp as a comparator

This post was originally published on this site