Changes

Jump to: navigation, search

ButtonBoxes

438 bytes added, 09:10, 12 March 2014
no edit summary
== Psychopy Settings ==
 
<code>
#!/usr/bin/env python
from psychopy import core, visual, event
from rusocsci import buttonbox
import logging, time
## Setup Section
#logging.getLogger().setLevel(logging.DEBUG) # use this for debug info
win = visual.Window([400,300], monitor="testMonitor")
bb = buttonbox.Buttonbox()
## Experiment Section
b = bb.waitButtons(maxWait = 10.0, buttonList=['A'])
print("b: {}".format(b))
## Cleanup Section
core.quit()
</code>
== Matlab Settings ==

Navigation menu