Comments

This is a copy of an email I sent to someone else (or is it the same
person??) :-)

It relates to the FTDI USB chips/Modules...

For the Mac, you install an Extension from ftdi which creates a "Virtual
serial port".

That means, that your existing programs that normally talk to the old Mac
serial port will still believe they are talking to one, and the Extension
will transfer any calls to the serial port to the FTDI chip instead.

So, as far as writing software goes, you just carry one writing your
programs, addressing the the serial port.

I'm not sure about how to address a serial port in C++ for the Mac, but in
RealBasic, it's something like:

serial1.write "Hello!"

As long as you have the extension installed, your program will work on a USB
based Mac.

"To the optimist, the glass is half full. To the pessimist, the glass is
half empty. To the engineer, the glass is twice as big as it needs to be."

No animals were harmed in the transmission of this email, although the
Dog next door is living on borrowed time, let me tell you! Those of you
with an overwhelming fear of the unknown will be gratified to learn that
there is no hidden message revealed by reading this warning backwards.

> I think that my problem is of the most basic nature--software to
> hardware-- but after searching for weeks for a definite answer, I am
> almost sure it is hopeless.
>
> Basically, I am trying to get numbers from a bs2 controlled sonar
> circuit into a variable in either java or c++ in my macintosh
> throught the usb port.
>
> I believe I have solved the USB part of this, but now I do not know
> how I will begin to go about getting the values into the software.
>
> Perhaps someone here has done some similar work on the mac and can
> help me a bit.
>
> Thanks
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
> Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>

They have mac versions, old and new. This stuff should work with any
aftermarket usb-> serial adapter. The way to connect the stamp to a serial port
is I think identical to how you would do it for the pc, you just need the
pinouts...

Good Luck, and please, if you make it work, post what you can here. I probably
need to solve a similar problem myself soon.

Stan

--- In basicstamps@y..., "papercats2000" <olegna78@a...> wrote:
> I think that my problem is of the most basic nature--software to
> hardware-- but after searching for weeks for a definite answer, I am
> almost sure it is hopeless.
>
> Basically, I am trying to get numbers from a bs2 controlled sonar
> circuit into a variable in either java or c++ in my macintosh
> throught the usb port.
>
> I believe I have solved the USB part of this, but now I do not know
> how I will begin to go about getting the values into the software.
>
> Perhaps someone here has done some similar work on the mac and can
> help me a bit.
>
> Thanks

Thanks Stan. I saw that page during my week-long struggle, but I kept
searching for things that looked cheaper and finally settled on ftdi usb
chips and drivers.
Again thanks. I CAN'T BELIEVE i GET HELP WITH SUCH A SPECIFIC PROBLEM OOPS
SOrry for the all caps.
~Angelo