Closed polyfloyd closed 6 years ago
ping @mbr
This may be an issue if the GPIO is shared - we do not have exclusive access to the PIN, as far as I know. Granted, it's a bad idea to given two programs control over it, I want to raise that concern nonetheless.
Additionally, sorry for the delay. =)
Ah yes, that's not something I took into consideration.
Would documenting this new behaviour be sufficient? Two programs manipulating the same pin at once seems very uncommon to me.
With the new API changes coming up, this cannot be merged unfortunately. Sorry.
Hi @mbr, are you still interested in these changes? I can create a new implementation if desired.
By storing the pin state in userspace, a syscall can be avoided if the requested state is equal to the current state.
In a real world application like ledcat, this leads to a speed increase of about 400%.