Hi all,
I'm writing some code that will capture some serial data that is a series of variables that my cars ECU spits back— I then need to chop this up so I can access various things like temperature, RPM etc
I have captured this data using some software— and I think it looks right?
02d2 0000 0000 0000 0000 0000 9393 0101
03df 03e0 02dc 0301 8401 d378 00c7 0000
0000 03e8 03e8 03e1 0064 0000 0064 03ed
0064 0064 0064 00a0 0000 fffa 0002 0020
0000 03e0 0064 0000 0064 03fe 0000 0000
0000 00e6 0000 009c 0000 03e0 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0064 0000 03e0 03e0 0000 0000 0000 0000
0000 0000 0000 0000 0000 0003 c700 0000
0000 0000 0000 0000 0000 0000 03fe 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 03e8 03e8
03e8 03e8 03e8 03e8 03e8 03e8 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000
Here's how it's chopped up: http://home.comcast.net/~whaussmann/RS232_MS2E/RS232_RTvar.htm
What I want to do is get that data in to an array so that I can play with it— it's not practical for me to sit in the car whilst I try out the various things I want to do with it.
What's the easiest way for me to get that in to an array? By hand? The data looks like it's in pairs of hex values? I am not sure.
James