Shop OBEX P1 Docs P2 Docs Learn Events
BS1 — Parallax Forums

BS1

n0wiqn0wiq Posts: 8
edited 2009-08-16 23:41 in BASIC Stamp
I am disappointed.in the BS!. My program was roughly 112 instructions and after I got it debugged I found that the BS! was too slow.

I don't remember the instruction time though I read across it. Even if it is only 1msec / instruction my program would take approximately
112 mSec. My goal was less than .05 mSec per loop in my program.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-08-16 23:41
    The speed of the BS1 is approximately 2000 "instructions" per second. Very simple statements like "TOGGLE 5" might take two instructions or about 1ms. You wanted something at least 3 orders of magnitude faster. You won't achieve that with any of the Basic Stamps. Not knowing what your loop entails, I couldn't say for sure, but the SX should be able to handle that sort of speed and the Propeller certainly could, but maybe not in Spin. Propeller instruction execution time is 50ns with the normal 80MHz clock. Spin instructions take something on the order of microseconds or tens of microseconds.
Sign In or Register to comment.