nanogui: uOLED-160-GDM1 driver for Nano-X


Previous by date: 11 Aug 2007 12:42:18 +0100 Best combination for NanoGui to use for my embed, Jonathan Poulin
Next by date: 11 Aug 2007 12:42:18 +0100 Regarding Font size, ravi kumar
Previous in thread:
Next in thread:

Subject: uOLED-160-GDM1 driver for Nano-X
From: hip ####@####.####
Date: 11 Aug 2007 12:42:18 +0100
Message-Id: <1186832526.6062.4.camel@hipwah>

Experimental uOLED-160-GDM1 driver for Nano-X
by hippy (rowanmac @ internode.on.net) 2007
---------------------------------------------

The uOLED-160 is a cheap 160x128 pixel 24-bit colour serial display,
supporting speeds upto 250000 baud, it has an inbuilt set of drawing 
functions and supports some blitting and scroll controls. 

The manufacture is 4dsystems.com.au


It has been built against a fresh microwindows-full-0.91.tar.gz file,

basically copy the 'drivers' files into the
microwindows-0.91/src/drivers directory. 
(this will overwrite Objects.rules) 

and setup your config file (or use the supplied config)
....

SCREEN_WIDTH             = 160
SCREEN_HEIGHT            = 128

UOLED160		 = Y

# framebuffer screen driver (linear and/or vga 4 planes)
# set VTSWITCH to include virtual terminal switch code
# set FBREVERSE to reverse bit orders in 1,2,4 bpp
# set FBVGA=N for all systems without VGA hardware (for MIPS must=N)
FRAMEBUFFER              = N
FBVGA                    = N
VTSWITCH                 = N
FBREVERSE                = N
# set HAVETEXTMODE=Y for systems that can switch between text &
graphics.
# On a graphics-only embedded system, such as Osprey and Embedded
# Planet boards, set HAVETEXTMODE=N
HAVETEXTMODE             = N
# svgalib screen driver
VGALIB                   = N
# direct VGA hardware access screen driver
HWVGA                    = N

---------------


NOTE!!! the uOLED appears to linux as a Cypress usb to serial converter,
this driver has hardcoded to open the device on /dev/ttyUSB0 

If you like, change the call in src_oled160.c
...
    oLED_init("/dev/ttyUSB0");
...

NOTE ALSO!!! It does not power off the uOLED device. you are responsible
for that. 


cheers,
	hippy


[Content type application/x-compressed-tar not shown. Download]

Previous by date: 11 Aug 2007 12:42:18 +0100 Best combination for NanoGui to use for my embed, Jonathan Poulin
Next by date: 11 Aug 2007 12:42:18 +0100 Regarding Font size, ravi kumar
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.