i’m playing around with two touchpads connected to
everything seems to work fine - i can read extended
packets from the pads:
absolute x, absolute y, z (pressure)
i modified the ps/2-mouse-example from the playground
and attached an interrupt instead of the while-loops to
check if the CLOCK-line is FALLING (which means that the
pad is ready to send data).
it doesn’t work perfectly because i shouldn’t use any
delays anymore. now the first call of the interrupt works
perfect but then the program stucks again inside of
a whileloop, which is essentially for datatransmisson
for(count=0; count<n; count++);
what has n to be to delay, for example 100us?
thanks in advance,