Changes

Jump to: navigation, search

ButtonBoxes

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

Navigation menu