Well.
For all you Linux Users who can't properly use your CFA631 Module...
Here is a custom program I wrote. See the included sample Bash file, since the vast majority of the system is shell-script controlled. Anything that is commandline can be interfaced with this program.
This driver supports the Keypad for use with anything. Its all in the sample script. The sample will display your IP (hopefully), Uptime, etc, and includes a very simplistic sample menu.
You can do practically anything with your display using this little set, and I mean anything. If you know Bash Programming, spend 5 minutes in the Sample and you will realize the power of this little program.
I only take credit for what I did. The vast majority of the program is based off the CFont631 Library that someone else in this forum posted, except the Library was chucked into the program (no seperate library to deal with). I did NOT write the Library. I only wrote the commandline part, and a few other functions.
Big Numbers/Characters are COMMING soon, as are Bar Graphcs and Custom Icons (non-animated). Its Xmas so I can't work on it as much as I'd like to right now, but hopefully those two should be in sometime soon.
Compile the C file with GCC, remember -lpthread for the Pthread Library.
The Sample Shell script shows you how the magic can be done. Execute the script as the script comments say for background running (nohup sh ./sample.sh &).
Write your own script, maybe post it so others can see how you run your display.
I will post my own script given the chance to write it... That will probobly be once I figure out bars and Bigchars, and custom characters.
Cheers for now!
For all you Linux Users who can't properly use your CFA631 Module...
Here is a custom program I wrote. See the included sample Bash file, since the vast majority of the system is shell-script controlled. Anything that is commandline can be interfaced with this program.
This driver supports the Keypad for use with anything. Its all in the sample script. The sample will display your IP (hopefully), Uptime, etc, and includes a very simplistic sample menu.
You can do practically anything with your display using this little set, and I mean anything. If you know Bash Programming, spend 5 minutes in the Sample and you will realize the power of this little program.
I only take credit for what I did. The vast majority of the program is based off the CFont631 Library that someone else in this forum posted, except the Library was chucked into the program (no seperate library to deal with). I did NOT write the Library. I only wrote the commandline part, and a few other functions.
Big Numbers/Characters are COMMING soon, as are Bar Graphcs and Custom Icons (non-animated). Its Xmas so I can't work on it as much as I'd like to right now, but hopefully those two should be in sometime soon.
Compile the C file with GCC, remember -lpthread for the Pthread Library.
The Sample Shell script shows you how the magic can be done. Execute the script as the script comments say for background running (nohup sh ./sample.sh &).
Write your own script, maybe post it so others can see how you run your display.
I will post my own script given the chance to write it... That will probobly be once I figure out bars and Bigchars, and custom characters.
Cheers for now!
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.
Attachments
-
12.3 KB Views: 948