Pyrofer wrote:You can also memory map the gpio for more speed.
Any example how to do that?
Peter H wrote:It isn't necessary to close and re-open the device each time you write to it. You can also save a little time by avoiding formatting the string every time you write to the device, since you're always writing "0" or "1".
It is necessary to close and re-open, the value gets active only after the file is closed.
voiding formatting the string every time you write to the device
thx for the notice, changed to writing char, reduced state change delay for around 30us.