If I use an LM311 Comparator, then we are required to connect a pull up resistor at the output. Does the square wave output depends on the value of the voltage the resistor pulls up to?
Would it be that if i had a 5V on the pull up, then the output would be a square wave with 0V to 5V(max). And for a 12V pull up - a 12V to 0V Square wave?