
Originally Posted by
Ted's
You see, simple and easy for an experienced programmer.
Why did you not just do that in the first place?
1) Cause here, we teach people how to catch the fish ... it's not a PbP "Drive in" !!!
as we had explained you ...
2) Cause there was NO answer to what you had asked ... and no way to understand what you wanted to do ...
3) Still no way to understand ... :
Code:
Zahl VAR WORD
time_in_us VAR WORD
DEFINE OSC 20
WHILE Zahl < 60000
Zahl = Zahl + 1
WEND
time_in_us = Zahl * (84/10)
... with this code, "Time_in_us" WON' T be 504 027 ... so, why re-calculate it ???
... I do not joke : with the calculation errors ( roundings ) , the showed result will be ... FALSE !!!
Was I Spiritual enough ???
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