Shop OBEX P1 Docs P2 Docs Learn Events
Memory stick datalogger — Parallax Forums

Memory stick datalogger

Hi there....
I am trying to make use of the Parallax memory stick datalogger on a test apparatus here at the University in Cambridge.
I have 2 sensors as inputs to my Bs2p24 - differential pressure and absolute (barometric) pressure. My program reads data from these, no problem at all.
I now need to develop some Stamp code that adds (say every 10 seconds) the time and the two sensor readings (i.e. 3 word values) as a new line in a text file on the memory stick.
I have had a go (see attached file) but I'm a bit out of my depth...
Can anybody help?
Many thanks
Mark Williamson

Comments

  • Have been able to write data to the thumb drive successfully?

    It's been awhile since I've used my datalogger but nothing in your code stands out as obviously wrong.

    Can you create a file with data at all?


  • PublisonPublison Posts: 12,366
    edited 2015-08-28 16:22
    Welcome to the forums!

    A quick look at your code reveals that you don't have the PBasic version in the code. You might want to include that on your second line of the code and see what happens.

    ' {$PBASIC 2.5}
Sign In or Register to comment.