Easy GUI comes pre-programmed from the factory with sample Gem pages stored in the onboard flash. If you haven't already done so, please take a few minutes to power up the Amulet Starter Kit module to review the pre-programmed demo. To power up the Starter Kit and begin GUI navigation, proceed as follows:
| Switch 1 ON --- Prog/Run Mode (Run Mode) Switch 4 ON --- Touch Panel Mode (No Calibration Mode) |
By now, you should be familiar with the operation and navigation of the LCD module. The next step is to use the GEM Compiler to compile and program a GUI. In keeping with a long-standing programming tradition, this section introduces you to the GUI development tools by guiding you through the creation of a "Hello, World!" program. Proceed as follows:
Launch the GEMcompiler by whichever means you prefer.
Before compiling any projects, the Amulet OS files must be compiled and programmed into the Amulet GEM-compliant Chip's serial data flash. If this is the first time launching the GEMcompiler, the following dialog box appears:

If the USB driver has not been installed at this point, connect your Amulet module to the PC via the included USB cable. When Windows ask for a driver, point Windows to the GEMcompiler\USB Drivers folder and select the sub-folder that matches your version of Windows. Once Windows has fully installed the driver and created a new virtual comm port, hit the Refresh button to refresh the list of available comm ports on your machine. Choose the newly created comm port.
The OS needs to match the specific display you are using, so choose the Width x Height, the Manufacturer, and Part Number of your display. When the correct display has been chosen, hit the OK button. The GEM Compiler will start up by compiling the latest OS files and packaging them along with a welcome screen that will immediately be programmed into your module.
Once the OS files have been loaded into the module, you can now move on to the "Hello World!" project.
The GEM Compiler will open and compile HelloWorld.htm and all other files that are linked from HelloWorld.htm. When the conversion is complete the compiler will display something like this:
<Successful Compile! Ready to Program X files (XXXX bytes) into Flash>
NOTE: DO NOT click on the Program FLASH button yet because you must first prepare the Easy GUI module for programming. If you have already loaded the OS files into your module, the USB/RS232 settings are probably already setup correctly, but it doesn't hurt to go through the process of confirming the settings below.
The GEM Compiler uses a USB virtual comm port or an actual RS232 port on your PC to program the flash memory of your Amulet module. Prior to programming for the first time, you must select a comm port and select the programming and auto "wake-up" baud rates. The GEM Compiler stores these settings in its cfgAmulet.ini file so that they can be recalled each time you launch the GEM Compiler. If using a USB cable, the comm port will not appear in the drop down menu until the Amulet module has gone through USB enumeration, so the Amulet module must be powered on and the USB cable must be attached to the Amulet module and the PC's USB port.
To select a serial port for programming:
Click on the Program FLASH button in the Compiler window. If there is a comm port conflict, the compiler will display "Port is in use." If the compiler doesn't see the Easy GUI module, the compiler will display "Serial port timed out." Normally, though, the compiler will display a series of messages as each file within the page is flashed. When the flash programming is complete, the compiler will display:
<Successfully Flashed 9540 bytes, occupying 9728 bytes in flash.>
Congratulations! You have successfully compiled and flashed your first Easy GUI Gem page(s). The Hello World page is now displayed on the LCD of the Easy GUI module.
Now, it is time to personalize your GUI. Using a text editor, such as Notepad or a "WYSIWYG" tool like Namo, open the appropriate HelloWorld HTML file for your resolution LCD module, located in the \help subdirectory of the Amulet GEMcompiler's main directory. View the source code for the page and search for "Hello, World!" between the <BODY> and </BODY> tags.
Replace "World" with your name. For example, "Hello, World" should now read "Hello, John!"
Save the modified file and compile it.
Click on the Program FLASH button.
Congratulations! You have successfully modified a uHTML page. A personalized version of the home page is now displayed on the LCD of the module. If desired, see Restoring
The Flash To Factory Configuration.
If you are familliar enough with your web editor, try changing the font color with a <font> tag or the background color of the <table> using the bgcolor parameter. See the HTML Support page for help on these and other tags. Once you've got a handle on that, move on to our Widgets.
Before you embark on creating your own GUI from scratch, a few tips are in order:
Amulet GEMcompiler,
Copyright © 2000-2010 by
Amulet Technologies, LLC
©2003-2010 Amulet Technologies. U.S. & European Patents Granted. Other Patents Pending.
GEMstudio, Graphical Operating System, Graphical OS Chip, µHTML are Trademarks of Amulet Technologies
Back to Welcome - Contact Amulet - Amulet Home