[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Modules are starting to work
From: Scott Dattalo ####@####.#### Date: 28 Jun 2000 03:40:11 -0000 Message-Id: <Pine.LNX.4.21.0006272129030.28584-100000@tempest2.blackhat.net> Check out this screen shot of this (really hideous) 7-segment display: http://www.dattalo.com/gnupic/7seg.gif This module is a 'common cathode' 7-segment display. The cathode is connected to Port A bit 0, and the seven segments are connect to port B bits 0-6. If the cathode is driven 'high' all of the segments are turned off. If it's driven low, then those whose anodes are driven high will be illuminated. A simple pic program drives port a0 low and cycles through portb. As portb changes, so do the segments. Of course, you know I intentionally made the display as ugly as possible to inspire others to make it better! The led module code is totally separate from gpsim. I'm not quite ready to release it because there are several things that need to be fixed. (Like having gpsim initiate module gui updates). Right now, modules accept inputs only. The next thing will be to get module outputs working and then I'll start thinking about the 0.20.0 release. I don't think I'll meet the end of June release of 0.20.0 that I promised a few weeks ago though. Scott | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Modules are starting to work
From: Scott Dattalo ####@####.#### Date: 29 Jun 2000 04:25:03 -0000 Message-Id: <Pine.LNX.4.21.0006282218290.8303-100000@tempest2.blackhat.net> On Tue, 27 Jun 2000, Scott Dattalo wrote: > > Check out this screen shot of this (really hideous) 7-segment display: > > http://www.dattalo.com/gnupic/7seg.gif Now check out a much improved version: http://www.dattalo.com/gnupic/7seg2.gif I copied the guts for this from a program called dclock that was written back in 1989! The display is (or I should say, can be) totally adjustable. Right now I've got everything hardcoded, but eventually you'll be able to tweak the slant, width, height, segment colors, segment width, etc. Scott | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |