I've managed to solve all my PD glitches and have gone on to modify
Guenter's serial read to work with a sonar sensor. The code is working
great. However, not knowing PD well, I need some help with ASCII data.
I'm getting timing values back from my sonar sensor timer circuit, which
is attached to COM1. The values make up a float in the format XXX.XX
followed by ASCII 10 and 13. As an example in decimal I get:
48 46 51 52 10 13 = 0.34
(the timer pic drops all leading zero's but one.)
How do I store the values until I get a 10, then concatenate the values to
create the float?
Also, I plan on modifying Guenter's serial code further to create a
controller object for a Pioneer LD-V8000 laser disc player. I will forward
the code to those interested.
Best,
Elliot Anderson
Lecturer, Electronic Media,
Art Department
University of California, Santa Cruz
(831) 459-2955
http://www.sirius.com/~ewanders