I have a PiFace on a RaspberryPi, and it works great, but there is a several second delay between when the input switches to when the script responds. Can someone tell me where to find/change this delay time? Thanks, Jim
I have a PiFace on a RaspberryPi, and it works great, but there is a several second delay between when the input switches to when the script responds. Can someone tell me where to find/change this delay time? Thanks, Jim
How are you talking to the PiFACE? I'm using C++ and the effect is almost instant.
Here is my code: SCPI on a Linux Board - Part 2b: PiFace Digital C++ programming
Edit: here's an example that supports interrupts to react real time on input changes: https://github.com/piface/libpifacedigital/blob/master/example.c
I'm using a Python script to run a simple routine when an input triggers, but the delay that I don't want, makes it not work for what I need it to do. I'm not very good at this programming, but I don't see anything that would cause it to have this lag. Thanks, Jim McNamee
Ah. I have no experience with Python script.
Ah. I have no experience with Python script.