thx Steve
I will probably have few questions, now I will contion on my work
thx
Type: Posts; User: CipiCips; Keyword(s):
thx Steve
I will probably have few questions, now I will contion on my work
thx
So this ADRESH is the adress where AD save it's value ?
what if I have two, three or four AD, is it all stored in same adress ?
I am using PIC 16f877A
this is the code
DEFINE ADC_BITS 8 ' Set number of bits in result
DEFINE ADC_CLOCK 3 ' Set clock source (rc = 3)
DEFINE ADC_SAMPLEUS 50
ADCON1 = 0 ' PORTA...
then why this doesnt work:
I have a potentiometer on pin 0 (AD), and when I turn that pot to one end (left or right) my values of variable should be 0 or 255. And when I wrote IF function nothing...
Hello
Does anyone know what is the maximum and minimum value of variable at 8 bit AD conversion (PIC 16f877A)
For example:
pw var byte
adcin 0, pw "read AD value on pin 0 and store it...