hi,
can u please send me picbasic code so i can know where is the error cause i am not god in assembely
hi,
can u please send me picbasic code so i can know where is the error cause i am not god in assembely
hi,
i try the code u send me but still the same result nochange the resolution still 0.5
Hi, Ahmed
No surprise ... you do not write tte DS Config Word in the right registers ...
our friend Fratello saw that ( and corrected it ... )
a pair of zeros is missing in your command line ...
Alain
Last edited by Acetronics2; - 14th June 2009 at 13:03.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
hi,
still the same resolution 0.5 even after i update the code , attached is the code u send me if u want to check
Hi, Ahmed
I must admit Fratello's program only shows half degrees ... ( just tested on an EasyPic 5 )
but still have not found Why !!!
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Hi, Ahmed
I Finally got it !!!
the problem is in the Waiting loop ... that doesn't wait !!!
sooo... add :
at the top of the programCode:Busy VAR BIT
and change :
byCode:WaitLoop: ' While not DQ ' NOT Working !!! ' Wend
Port C.4 was chosen to show the time the DS is Busy ... very useful tool to verify conversion is really complete !!!Code:WaitLoop: OWIn DQ, 4, [Busy] ' Check for still busy converting 'PORTC.4 = 1 ' Show waiting for conv complete If Busy = 0 Then GOTO waitloop ENDIF ' PORTC.4 = 0
Have fun,
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks