Is this flow of debug statements normal?
Buck Rogers
Posts: 2,187
Hello!
With my now working BASIC Stamp1 carrier board hosting a Stamp1 one I have this code running:
This is translated from code available here http://smallrobot.bizland.com/bs2ti.html the calculator code available from there is running unchanged. I added those debug statements to what I was running last night (or early this morning) to have a better idea of what's happening. The debug output is this:
What I'm looking for is someone to try out the new code, even the old code, which is this here:
Which would be run on a regular BASIC Stamp1 and with a TI83+ connected and loaded as the webpage describes. (If someone could try out a Stamp2 in the same fashion that would be okay too,).
Basically I would want one of the good people in here could largely confirm or refute my theories here.
With my now working BASIC Stamp1 carrier board hosting a Stamp1 one I have this code running:
' {$STAMP BS1} ' {$PBASIC 1.0} SYMBOL serData = B2 Main: DEBUG serData SERIN 7, T2400, serData DEBUG serData serData = serData + 1 DEBUG serDATA SEROUT 7, T2400, (serData) DEBUG serDATA GOTO Main
This is translated from code available here http://smallrobot.bizland.com/bs2ti.html the calculator code available from there is running unchanged. I added those debug statements to what I was running last night (or early this morning) to have a better idea of what's happening. The debug output is this:
SERDATA = 0 SERDATA = 191 SERDATA = 192 SERDATA = 192 SERDATA = 192 SERDATA = 191 SERDATA = 192 SERDATA = 192 SERDATA = 192
What I'm looking for is someone to try out the new code, even the old code, which is this here:
' {$STAMP BS1} ' {$PBASIC 1.0} SYMBOL serData = B2 Main: SERIN 7, T2400, serData 'DEBUG serData serData = serData + 1 DEBUG serDATA SEROUT 7, T2400, (serData) 'DEBUG serDATA GOTO Main
Which would be run on a regular BASIC Stamp1 and with a TI83+ connected and loaded as the webpage describes. (If someone could try out a Stamp2 in the same fashion that would be okay too,).
Basically I would want one of the good people in here could largely confirm or refute my theories here.
Comments
Hello!
Thanks Mike. I am definitely looking for people to try out the code as it applies to the whole business as described in that online article.