Is there a StandardFileStreamreset?
Michael
On Wed, Jan 28, 2015 at 7:45 AM, Herbert König herbertkoe...@gmx.net
wrote:
Hi,
I can successfully read a GPIO Pin on the RasPi if I do it like:
|value|
dataFile ensureOpen.
value := dataFile upToEnd.
dataFile close.
^value
dataFile is the
Wonderful,
dataFile reset.
^dataFile upToEnd
I thought every read request would just produce a new value.
Thanks,
Herbert
does the trick
Am 28.01.2015 um 14:13 schrieb Michael Rice:
Is there a StandardFileStreamreset?
Michael
On Wed, Jan 28, 2015 at 7:45 AM, Herbert König
Dear Squeakers,
As a long term Linux user let me add a couple of remarks to the
discussion.
The Linux way of doing
things focuses on the super old school UNIX mentality that the person
using
the system knows what they're doing better than any program or developer
can guess, and so the
Hi,
I can successfully read a GPIO Pin on the RasPi if I do it like:
|value|
dataFile ensureOpen.
value := dataFile upToEnd.
dataFile close.
^value
dataFile is the /sys/class/gpio/gpioxx/value file that exists after
exporting gpioxx.
Without the reopening and closing of the file I get '' on
On Wed, 2015-01-28 at 09:56 +0100, Mateusz Grotek wrote:
Dear Squeakers,
As a long term Linux user let me add a couple of remarks to the
discussion.
The Linux way of doing
things focuses on the super old school UNIX mentality that the person
using
the system knows what they're doing
Hi,
I'm trying to use the GPIO on the Raspberry Pi.
After I export a GPIO before setting its direction I need to wait until
all Folders and files of the GPIO pin are created.
I try this with:
FileDirectory default fileExists '/fullPathToTheGpio/direction'
This never returns true.
Any hint on
How about sending #reset to set the stream back to the start ?
Read the paragraph above lseek here...
http://falsinsoft.blogspot.com.au/2012/11/access-gpio-from-linux-user-space.html
cheers -ben
On Wed, Jan 28, 2015 at 8:45 PM, Herbert König herbertkoe...@gmx.net
wrote:
Hi,
I can