|
![](/i/fill.gif) |
hi,
On 17/05/2016 08:18, scott wrote:
> On 16/05/2016 18:21, Orchid Win7 v1 wrote:
>> On 16/05/2016 01:47 PM, scott wrote:
>>> What's the best way for this root process to "broadcast" to other
>>> (non-root) processes when that pin goes high? It will only happen at
>>> maximum frequency of about every 2 seconds, but any delay between the
>>> pin going high and the other processes seeing it should be minimal.
>>
> file somewhere. I'll have to experiment. I guess at some point I might
> want to expand the signal to more than one pin, so being able to
> communicate an "int" rather than a "bool" would actually be more scalable.
conceptually, the "device" ought to provide an entry under /proc
somewhere, and clients would read /proc/what/ever to retrieve the (int)
value.
jr.
Post a reply to this message
|
![](/i/fill.gif) |