Not sure where to post this, anyway: I was looking for a lib/sketch to read the PS/2 input from a mouse.
Found this one but it has some small μs delays + waits-for-state ((55+waitForClockState x 2) x bytes x 2) to read / write values from the 2 pins, in the loop().
Since I'd like to integrate this into a bigger project, I'm worrying about the added delays that might slow down the whole loop (the project has other (fast) polling features on other pins, like Hall sensor detection etc...).
Still new in the Arduino world, maybe my worries are not justified... (and this has not been fully tested).
Anyway, if someone could give some advice
- can this version be trusted as a kind of reference to read from a PS/2 mouse
- any other advice is welcome...