Page 1 of 1

Macintosh OS X Example Cocoa Application - GLK24064-25

Posted: Sat Mar 15, 2003 10:02 pm
by WildRice
Here is a link to some Objective-C code to access the GLK24064-25-VPT-E under Mac OS X 10.2.x (Jaguar).

I have much more to add to it, but as an example, it is useful now as it does open, write, and read the LCD.

The included AMSerialPort Class was written by Andreas Mayer and is used to do the serial IO over a USB connection to a keyspan USA-19Qi which converts the RS232 on the LCD to USB for the Mac. I made some minor changes to it, so you might want to start with a fresh copy from him.

I wrote the crMatrixOrbitalLCD Class which does the display stuff.

I also put a Obj-C wrapper, the crAppleScript Class, around some code I got off a mailing list that allows you to control other applications via AppleScript.

The main controller is the Controller Class. It is has an interface, but the interface is largely unused so far and should be ignored, except to quit the application.

You can get a copy of the source at

http://www.wildrice.com/BlueCabbie/Bluecabbie.zip

If you use it, give me credit. If you improve it share it back. :) -Chuck-

Posted: Tue Apr 29, 2003 12:32 pm
by WildRice
Sorry. The link was down for a while. Should be good again. -Chuck-