Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2002 17:55:44 -0800
From:      Greg Shenaut <greg@bogslab.ucdavis.edu>
To:        hackers@FreeBSD.ORG
Subject:   Re: Programming the Parallel Port using ppi. 
Message-ID:  <200210280155.g9S1tiQ69311@thistle.bogs.org>
In-Reply-To: Your message of "Sun, 27 Oct 2002 16:31:46 PST." <Pine.BSF.4.44.0210271631090.1093-100000@blackbox.yayproductions.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.44.0210271631090.1093-100000@blackbox.yayproductions.com>, David Nicholas Kayal cleopede:
>  val = 0xff;

For this kind of testing, it is sometimes useful to use a value
like 0xaa or 0x55, and probe the adjacent lines--don't forget that
if there is inversion going on, 0xff will produce all 0v outputs.
Just a random thought, it may not help here, but aa/ff are generally
more useful than all 1's or all 0's.

Greg Shenaut

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210280155.g9S1tiQ69311>