Alright, I'm fairly new to electronics in general but I'm slowly working my way through as much material as I can find, however, I've hit a stumbling block.
What I *think* i know, as in pertains to the Atmega8, please correct me if I'm wrong:
1. A port is made up of several pins.
2. Each pin can only have a value of 0 or 1 (0V or 5V)
Now for the question:
After reading the Fuzzy Logic tutorial, I got confused because it mentions that you can have values 0 - 255 coming from a photoresistor. I understand the ADC converts an analog signal into digital, but how can it convert it to a value between 0 - 255 if the pin can only handle 0/1? Do ADC pins have special properties that allow for more bits? I did read somewhere on the Atmel guide for the Atmega8 that the ADC can handle 10-bit's, but I'm not sure why or how?
Thanks in advance!