I'm unfamiliar with C programming. So i need your guidance :) I'm using the Arduino Duemilanove-Atmega168
Using voltage divider rule, i connect 5V to a fixed resistor, from fixed resistor to a variable resistor then to ground.
Using the adc converter, i want to display a digital number from 0-1023 using the serial monitor depending on my variable resistance (i.e. change in analog input voltage).
I do not know how to write a program that reads my analog input voltage from my variable resistor and display a digital discrete number on serial monitor as the resistance (variable resistor) changes.
Can some1 pls help? :D Been struggling for weeks...thank youuuuuuuuuu!!! Appreciate it