There is no advantage to converting Stamp loops to "real" time. It is a 1-to-1 conversion, meaning that each "real" time value corresponds to some fixed number of loops and vice-versa. For example, the following code would do exactly the same thing:
Code:
loopCnt VAR byte
loopCntHigh VAR nib
loopCnt=0
loopCntHigh=0
SERIN...
if (loopCnt + 1 + delta_t > 255) then loopCntHigh=loopCntHigh + 1 : loopCnt=loopCnt+1+delta_t-255 else loopCnt=loopCnt+1+delta_t
SELECT (loopCntHigh<<8 + loopCnt)
CASE range1Low TO range2High
'do stuff
CASE range2Low TO range2High
'do other stuff
CASE ELSE
'do even more stuff
ENDSELECT
SEROUT...
This will let you count up to 4096 loops, which is approx 1min 45s worth of autonomous time. Plus, it only uses 1.5 bytes!
Questions about the above stuff? Email or PM me and I'd be more than happy to explain.