![]() |
|
| Printable Version Send Feedback |
flcdsim - ILM-216 Serial LCD Simulator |
|---|---|
PagesHomeAbout Me All Articles PhotographyMy Favorite PicturesPhoto Albums Photo Gear DocumentationQuickModel FormatSerial Programming Subversion Cheats UI Experiments Softwareflcdsimfldiff flifstat flPhoto FLTK Widgets Gimp Plug-Ins OpenGL Printing RasterView Sudoku |
Copyright 2003 by Michael Sweet Introduction | Changes in v1.1 | Quick Start | Customization | Download | Reporting Problems Introduction
flcdsim was developed in under a day to allow me to develop and test an LCD interface for a CUPS project at my company, and is provided with ABSOLUTELY NO SUPPORT OR WARRANTY under the terms of the GNU GPL. Changes in v1.1flcdsim v1.1 makes cosmetic changes to the LCD font, cursor, and backlight effect to more closely simulate the appearance of the ILM-216. Quick StartYou'll need the FLTK library (http://www.fltk.org/), an ANSI compliant C++ compiler, and some version of UNIX or MacOS X. Microsoft Windows is not supported due to Windows lack of support for select() on ordinary file descriptors. Once you have extracted the source archive, run the following commands to make and install the program:
./configure
make
make install
Once installed, just run:
flcdsim program args
where "program" is the program you want to test and "args" is a list of any command-line arguments you want to pass into the program. Using flcdsimUnder normal operation, flcdsim will display all output from your program and will respond to button clicks just as the real LCD. Click on the Reset button to restart your program and reset the LCD to power-on defaults. The baud rate, debug window, and button labels in the flcdsim can be customized via the mouse. These customizations are remembered between runs for your convenience. Click on the 2400 or 9600 buttons to set the simulated baud rate of the serial interface. flcdsim throttles the output to the selected baud rate so you can properly test the speed of your LCD user interface. Click on the Debug button to toggle the display of the debug text drawer at the bottom of the window. This drawer shows all of the output your program sends to the stderr file. Click the right mouse button on any of the buttons to change the text labels. A pop-up menu will be displayed to change the label to text you enter or reset the label to the button number. Labels may use any FLTK symbol string in addition to plain text, allowing for arrows, etc.:
Other symbols can be found in the FLTK Programmers Manual. DownloadThe current version of flcdsim is available here: Reporting ProblemsPlease report all problems to "mike AT easysw DOT com" or to the FLTK mailing lists or newsgroups at:
http://www.fltk.org/newsgroups.php
I'm typically swamped with email, so I'll ask for your patience in advance. |
| Last modified 14 May 2007 - All content copyright 1991-2008 by Michael R Sweet | |