PalmOrb : Instructions : Sample Code

On this page I hope to host sample code for communicating with PalmOrb. This is for users who find the existing LCD software (LCDC, LCDSmartie, LCDproc, etc) too restrictive and want to play with their own code.

In the longer term I would like code samples for many platforms in many languages (C, C++, C#, VB, etc) - if you want to submit a sample then post in the forums; and I'll put them here.

Simple sample 1

Edit the file so the DEVICE define is set to point to your serial device. Then compile (Unix: "gcc sample.c -o sample"), then run it; you should now see "Hello World" appearing on the PalmOrb LCD.

Simple sample 2

Same as Simple sample 1, except it clears the screen and centers the text. Logo
Valid XHTML 1.0! Valid CSS!
Last change: $Author: clansley $ $Date: 2004/10/13 18:53:28 $ $Revision: 1.6 $
[Your browser does not understand CSS/XHTML - so this page may be a little strange looking. For security reasons it's always a good idea to upgrade to the latest browser version.]