Your signal will be sent to the inverting input of the comparator (negative terminal). The non-inverting (positive terminal) will be connected to a voltage divider to provide V+/2 using two identical resistors. The values of R1 and R2 are not set in stone, you can adjust them as long as they are both the same value.
So now, when the input is below the positive terminal's value (V+/2), the output will be V+ (high). When the input is above the positive terminal's value (V+/2), the output will be 0 V (Low)
And that's it