Memory stick datalogger
DrMarkWilliamson
Posts: 1
in Accessories
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
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
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?
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}