Does the internal temperature sensor on the ATmega168 work?
It's giving me the run around and all I can seem to get out of it is more or less a full house reading. (0x03FE)
Either I'm doing something very silly and/or I've missed something fundamental in the documentation (quite possible of course!).
Basically its a production project ... it already has functional ADC code in it that works well and consistently, it uses the 1.1v internal reference and does single ended conversion. As I say the new code is the same as the old except that it uses a value of 8 for the MUX setting and returns a value that is one bit off the top of the shop.
Even if I go to the working code and bodge the MUX value there to point to the internal temp sensor the full house result is the same.
As I say, either I'm doing something really stupid or missing something really obvious.
If there's someone out there that has actually had it working at least I'd know it was possible!