i have no idea how to vote on the poll, so i will post a yes here
In case anyone is interested, here is why I would like to see it:
i have a 632 that I am working with right now - its going to be the display for a linux mp3 player. I have been working with the code by Herbert Rosmanith listed on the software page. All that I am doing right now is a simple commandline program that will display whatever lines of text you give it as arguements. so i say:
./lcdtest "Counting Crows" "Long December"
and the lcd displays"
Then I just plan on calling the little program using the system command in perl, which is what the rest of my control software is written in.
Herberts code has almost everything done - so it is just a matter of making a couple of simple modifications.
Sorry it took so long, but I forgot my password, and I closed my email account, so I couldn't get the password. Anyway (if you haven't figured it out, I am jrmbadger, just posting under jrmbadger2).....
here is some unix code .......
Note that the crc function is copied and pasted straight from the lcd software from crystalfontz.
In unix the serial port can be accessed just like a regular file.
To receive input from say a 633, you would just have to do a
read() command. In a more advanced program I am working on, I use a select statement to multiplex my input and output ....
for more info on read() write() and select() you can do a man read, man write, man select at the unix prompt. The termios just sets terminal i/o settings, and the settings I found by tweaking things. In this example I write the command packet one param. at a time... you might be able to write the packet all at once... but I'm not sure if the serial port is fast enough or not. also notice that my CRC is hardcoded here..... to do it dynamically dependant on packet info, you have to do something like
//Initial CRC value is 0x0FFFF.
//This algorithim is based on the IrDA LAP example.
newCrc = (newCrc >> 8) ^ crcLookupTable[(newCrc ^ *bufptr++) & 0xff];
w2=w1 ^ b1;
b2=w2 & 0xff;
w4=newCrc >> 8;
newCrc=w4 ^ w3;
//Make this crc match the one's complement that is sent in the packet.