I am using PsychoPy to send Parallel Port signals to a device that sends small electric shocks (DigiTimer). However, the shocker reacts to the beginning of the signal, not to the end of the signal. How is it possible to invert the signal (similar to the invert option in Presentation) ?
port = windll.inpout32
QtTest.QTest.qWait(5) # 5 ms wait
TriggerSignal(1) # shocks follows