Analog Comparators- Cant make it work

You need to make a pencil drawing showing how you have everything connected and post a photo of the drawing.

On the Uno (and presumably the Nano) AINO is Arduino digital pin 6 and AIN1 is digital pin 7

...R