I'm using a Lilypad on 3.3V and trying to monitor the battery voltage. My thought was that I could set the voltage reference to INTERNAL (ie 1.1V), then tap off a proportion of the battery voltage (say 25% using a 100K and 300K potential divider). I always get a reading of 255, ie exactly 25% of full-scale, whatever the battery voltage. I would expect something around 750, ie 1/4 of 3.3V, referenced to 1.1V and scaled to 0-1023 range.
It seems to me that the INTERNAL reference doesn't work on the Lilypad. Has anyone else got experience of using the INTERNAL reference on Lilypads
Thanks in advance