Shop OBEX P1 Docs P2 Docs Learn Events
data logger demo program — Parallax Forums

data logger demo program

HyunHyun Posts: 8
edited 2008-03-19 19:13 in BASIC Stamp
sorry i've been crazily posting but i need your help..

so i've been trying to integrate my IR sensor with the demo codes given by parallax, but i need a way to modify NumSample, which to my understanding governs the number of samples taken. It seems like the biggest number i can put in is 9999, but i need much bigger samples... any thoughts?

thanks!

hj

Comments

  • Bruce BatesBruce Bates Posts: 3,045
    edited 2008-03-19 18:12
    Hyun -

    There is a variable in the program which controls the number of samples. You don't mention the name of the program, so there is no way for us to know the name of that variable. However, it will probably be used in a LOOP...NEXT or FOR...NEXT routine.

    That variable (whatever its name is) will be defined as follows:

    variable_name VAR BYTE

    Change it to read as follows:

    variable_name VER WORD

    That should get you going.

    Regards,

    Bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Involvement and committment can be best understood by looking at a plate of ham and eggs. The chicken was involved, but the pig was committed. ANON
  • HyunHyun Posts: 8
    edited 2008-03-19 19:13
    thank you so much! i was talking about "DataloggerDemov1.0"..
Sign In or Register to comment.