Shop OBEX P1 Docs P2 Docs Learn Events
COUNT Duration range 65.535 s or 65.535 ms. — Parallax Forums

COUNT Duration range 65.535 s or 65.535 ms.

MarcelMarcel Posts: 32
edited 2006-08-14 20:27 in BASIC Stamp
Hi,

I'm tinkering with the COUNT command and I read on page 149 that the duration range for the BS2 is 1 ms to 65.535 s.·Is this a typo, 65.535 seconds or milliseconds?

Marcel

·

Comments

  • allanlane5allanlane5 Posts: 3,815
    edited 2006-08-14 19:10
    65,535 mSec, which is 65.535 seconds. So, the 'COUNT' command can count 1 millisecond, or 65,535 milliseconds.
  • MarcelMarcel Posts: 32
    edited 2006-08-14 19:19
    I see what is wrong.·In Europe we use·the "," as the decimal separator. In·the US·they use the "."·· So I have to read 65,535 sec.·smile.gif
    ·
  • allanlane5allanlane5 Posts: 3,815
    edited 2006-08-14 20:27
    Good catch. Yes, you are correct.
Sign In or Register to comment.