Attiny85 AREF and output

ron_sutherland:
OK, that is a nice feature the output driver is disabled when the 1V1 reference is used, so no smoke.

Updata: After looking over the datasheet some, I'm not sure if the AREF pin is set for bypassing when the 1.1V bandgap is selected, I guess it could be tested by enabling the reference, take a reading and then measuring the AREF pin with a DMM, but I don't have a t85.

You're misinterpreting that.

On the ATmega328P, AREF is it's own pin so you need special care connecting to it.

On the ATtiny85, it's multiplexed with several other functions on one pin. It will not be activated as AREF unless you use one of the reference options that activates it.

As for the topic of this post:

The other think is the voltage coming from the output through the voltage divider was higher than 1.1v ( about 1.5v ), could this have maybe destroyed the ADC?

Not likely. The input limits of analog pins is 0V - VCC, no matter what reference is used. Inputs greater than the reference voltage will just give you the full scale output (1023).

It's hard to diagnose without debug information. Replace the ATTiny with an Arduino Uno so you can print out the ADC value over Serial. Then you'll actually be abel to see what's going on, because I can't spot anything obviously wrong in your code.