MAX-7219 Led Driver
This code controls MAX-7219 ic devices connected to the parallel port.
Maxim 7219 LED Driver in
purebasic
by hippy 2006 (emale: rowanmac westnet.com.au)

" The Maxim MAX7219 is an LED display driver thant can control up To 64
individual LEDs, Or eight 7-segment LED digits, Or any combination of individual
LEDs And digits. It frees the host from the chore of constantly multiplexing
the 8 rows And 8 columns. In addition, it takes care of brightness control (16
steps), And implements display test And display blank (shutdown) features. "
(extract from http://ee.cleversoul.com/max7219.html)
Connect a max7219 to your 1st parallel port...
; PC - MAX7129
; pin 2 - clk
; pin 3 - load
; pin 4 - dIn
; pins 18-25 - gnd
; pins 2,3,4 have a 560 ohm
resistor in series and also 4.7k pull-ups
; this works for me..
; (see http://www.maxim-ic.com/appnotes.cfm/appnote_number/2782)

; This code includes the low level sending, and some utility procedures for
; setting the intensity of the display or leds.
; i didn't use the BCD decoding features in my application, so it's not implemented
here,
; but would be easy for you to implement.
;
; My code requires the included closed-source io.dll
; from http://www.geekhideout.com/iodll.shtml
; which is loaded as library 10, and controls the pins easily for me.
Free software to do with as you wish...
DOWNLOAD SOURCE NOW (purebasic source and io.dll)