| ??? 09/13/07 04:57 Read: times |
#144536 - Average read Responding to: ???'s previous message |
Hi Russel, thanks for your answer.
I think is already shifting the LSB from ADC value here (maybe I wrong?)
READ0: CALL READ ; Read ADC
MOV P1,A
CLR C ; Midi adjust (MSB must be 0)
RRC A ; Midi adjust
MOV TP,@R0
CJNE A,TP,SEND0
JMP INCI ; EQUAL read next
SEND0: MOV @R0,A
CALL SEND
About average of values, I dont understand how to do this with right shift, can you explain for me? I dont understand from where this noise comes, I have isolated the circuit and suplying with batteries for no noise and this happens, maybe something wrong, can my adc be bad? Have some substition for my circuit? A better way to do? Thanks. |



