The Example for Analog Input Isn't working for me.

As already said, using "16" to read an analog input doesn't make sense. That pin number is for treating the pin as a digital pin.

Also, turning on the pull up resistor when connected to a Potiemeter doesn't make sense either. Again, you use pull up resistors with digital inputs, not analog.