On Wed, 2005-10-26 at 21:08 -0400, Paul Alfille wrote:
> On Wednesday 26 October 2005 04:37 pm, Marek Wodzinski wrote:
> > On Wed, 26 Oct 2005, Alfille, Paul H.,M.D. wrote:
> > > Ahhh... I'm sorta a software guy. 1=on 0=off
> > > Sorry for all the confusion.
> >
> > I'm a hardware based software guy:-)
> >
> > > The easiest way to bypass this is the add an "alias" -- another property
> > > that is the inverted state of the PIO pin. What should it be called?
> >
> > Maybe another idea: something like --dont-convert, --dont-negate or
> > --raw-rw to configure?
> >
> > And do not convert input/output with this option - just raw values like in
> > documentation of chips.
> >
> > regards
> >
> > majek
> 
> Umm... unmanageable. We can't have incompatible behavior based on compilation 
> settings, the confusion would be prodigious.
> 
> A little more acceptable would be command line options -- though when you 
> start negotiating between server and client settings, and owperl... it gets 
> complex again. How about rPIO? It stands for "raw PIO" or "real PIO" or 
> "reversed PIO"? The name reveals the syntax. Just looking at the man page 
> brings the issue to light.

Software is software, and in software 0 means false and !0 means true.
Nothing else should really matter; if the documentation says zero-state
is logical-true, then the programmer implementing should know this as
well.

If some neutered version is absolutely necessary, I recommend "G" for
grounded and "C" for conductive, but this means that people who are
working with software and a binary operations list will have to go
through the conversion instead of the hardware guys who are building
that list.

I think I should suppress all the jokes and war stories about hardware
guys who gave up and said solve it in software, but really, wouldn't
documentation just fix this?


-- 
Internet Connection High Quality Web Hosting
http://www.internetconnection.net/



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to