View Single Post
  #12   Spotlight this post!  
Unread 13-01-2003, 13:35
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
I know you told me not to reply and to "chill," but you're not going to get off that easily!

You are definately going to have to explain your alleged 13ms loop as the lowest I can get is almost exactly 26. Here's the relevant code:

all CONs at 0 except PB_MODE

MainLoop:

Serin COMA\COMB, INBAUD, [PB_mode]

test=test+1

if test<1000 then no_done
debug "Done", cr
no_done


Serout USERCPU, OUTBAUD, [255,255,127]

Goto MainLoop:


Guess what? After exactly 26 seconds (that's 26ms *1000 loops), "done" pops up. Send me some code that's smaller and faster than that and you have my congrats. Especially if it can actually do something.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php