---------- Forwarded message ----------
From: SourceForge.net <[EMAIL PROTECTED]>
Date: Tue, Dec 2, 2008 at 3:08 AM
Subject: [Owfs-forums] [owfs - Help] Problems reading switches of LCD
terminal (DS
To: [EMAIL PROTECTED]



Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5746540
By: erichabg

Hello All!
Im using owfs on my NSLU2 with Unslung 6.10Beta
I have installed the following modules:
owcapi - 2.7p5-1
owfs - 2.7p5-1
owlib - 2.7p5-1
owshell - 2.7p5-1

I'm reading (with a shell script) 12xDS18B20, 2xDS2423, 1xDS2450 and some
DS2405.
The datas are written into a RRD database. Depending on the input of some
DS2405
(fire and water alarm) the output of some other DS2405 is set to give alarm
or not.
All works very well!

But now i wanted to add a Hobbyboard LCD terminal to show some of the
readings
and to output some messages.
The output is not a problem is use the following command
owwrite $OWSERVER /uncached/29.142C0300000/LCD_H/message "text.." or the
browser
via owhttpd.
But i can't read the three switches witch are connected to PIO.0 to PIO.2

I have measured the contacts of the switches and in most cases there is no
voltage
(25mV). That means in my understanding that the PIO is set. But the browser
shows that PIO.0 to .7 and also latch0..7 are unset and unsensed. But the
value
of PIO.byte is f.e.  103. If i set the value of PIO.byte to 0 (with the
browser)
The voltage between the contacts of the switch raises to 5V. But when i
shortcut
the contacts the browser furthermore shows all PIOs are not sensed.
I don't understand this behavior.
And after the next output of ..../message the voltage disappears again.

What's going wrong? How can i access the switches?
(I thougt i can detect a short press with the latch state)

Regards
  Erich



______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=292718

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Owfs-forums mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/owfs-forums
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to