bullet
Note:  The original Windows App below won't work for Com port numbers>9 (Like Com11).  Here's a fixed version to address this issue.
bullet

RS232 Interface with Advanced Driver

bullet

Once your uOLED-96-Prop is programmed with this, it acts as a serial display.  You can use, e.g., the PropPlug to connect it to your computer and send it serial commands via Hyperterminal or other Windows programs.  A test program is available to try out all commands.

bullet

This interface is meant to replicate that of the uOLED-128-GMD1.  You can look at the manual for that device for syntax.  Also, look at the source code for a list of additional commands.  Also, look at the Windows App screenshot below for commands in groups.

bullet

The V4 driver has been expanded and partially converted to assembly in order to achieve fast image display.  Support for 2 new fonts and transparent text are among the additional features.

bullet

Downloads:

bullet

Source files for RS232 interface with advanced driver

bullet

Windows Interface

bullet

Test files (including Femtobasic binary) for SD card  

bullet
Includes a few types of Windows bitmaps, raw data images (test1,test2.dat), and two slideshows (test4 (flying dove), test5.dat (F-14 fighter)).
bullet
You need to copy these to the uSD card to use them.  See "Usage Notes" for a method of using HyperTerminal to transfer these files.  
bullet

Usage notes:

bullet
It takes the driver ~200ms to initialize, so don't send any commands for this time after power up.
bullet
The default baud rate is 115200 and the driver will accept commands at this rate once the Prop logo is shown (~5 seconds after power up).
bullet
The driver will wait for 5 seconds for the "U" character ($55) (see uOLED-128-GMD1 manual) for automatically determining baud rate.  Baud rates up to 57600 can be auto-detected.  After 5 seconds, the driver will default to 115200 baud and show a splash screen with the Prop logo.
bullet
HyperTerminal can be used for some commands.  For example, type "@Y" to begin a ymodem file transfer session where you can send and receive files from the uSD card.  Or, type "@F" to begin a FemtoBasic session.
bullet
After receiving a valid command the display will send an "ACK" character (looks like a spade in HyperTerminal).  A "NAK" character is send for an invalid command.
bullet
Windows Bitmap files stored on the SD card can be displayed.  All types are thought to be supported.
bullet
Images can also be displayed from raw data, either from serial or SD card.  Both 8 and 16-bit native formats are supported.  The file format is a 3-byte header (width, height, bit-depth) followed by pixel data.  Slideshows can also be displayed from SD card using this file format with additional pixel data appended.  So, the first frame of a slideshow can also be displayed with the display image command.
bullet
Filenames extensions .bmp, .dat, .bin will be added if not included in name.
bullet

Windows Interface

bullet

Screenshot:   

bullet

This tool lets you test out the RS232 interface.

bullet

You first need to connect your uOLED-96-Prop to the computer with a serial connection.  (I used the PropPlug).

bullet

Just set port settings, open the port, and push buttons to send commands.  A status window at the bottom shows what commands were sent and the response. 

bullet

Usage notes:

bullet
Don't forget to "Open Port" before sending commands.  (Closing the port may cause the uOled to reset, just like with HyperTerminal).
bullet
Lines and text a drawn with the currently selected foreground color.
bullet
The screen is cleared with the currently selected background color.
bullet
Two buttons select between filled and hollow shapes.
bullet
Two buttons select between transparent text and filled-in background text.
bullet
The status window usually shows all the data bytes sent to the display and the response.  
bullet
Slideshows will continuously repeat until any character is sent.  One way to stop it is to send a single character command, like "Clear Screen" with the interface.
bullet
The "Help" function is a placeholder only, there is no help available yet (sorry!).
bullet
You can see the contents of the SD card using the "View Directory" button.
bullet

Making Slideshows from Animated GIFs

bullet
The dove and fighter jet test files (test4.dat, test5.dat) were created from animated gifs.  I used the free tool "IrfanView" to extract images from the animated gifs.  I also used IrfanView to take the extracted files and batch crop, resize, and convert them to bmp files.  Then, use the "Slideshow" button on the OledInterface app provided above to convert the series of pictures to the .dat file.