Hi All;
I am writing an .asm to sample analog inputs. I would like these inputs to be sampled every 10 to 15 seconds or so.
I have a series of 4 inputs being sampled, therefore I have 4 seperate sections in my code which use the ADC and read the inputs.
Is it possible to put the sleep instruction at the beginning of the ADC code for each of the sample set?
Or is only one sleep instruction permitted?
And also, could someone please explain to me the verbal meaning (not the datasheet meaning) of the instructions: org 0x00 and org 0x04?
Thanks everyone,
Steve
I am writing an .asm to sample analog inputs. I would like these inputs to be sampled every 10 to 15 seconds or so.
I have a series of 4 inputs being sampled, therefore I have 4 seperate sections in my code which use the ADC and read the inputs.
Is it possible to put the sleep instruction at the beginning of the ADC code for each of the sample set?
Or is only one sleep instruction permitted?
And also, could someone please explain to me the verbal meaning (not the datasheet meaning) of the instructions: org 0x00 and org 0x04?
Thanks everyone,
Steve