Changes

Jump to navigation Jump to search
17 bytes removed ,  10:28, 7 August 2015
Line 180: Line 180:  
=== Python/PsychoPy ===
 
=== Python/PsychoPy ===
   −
Download this site package to use the buttonbox: [https://pypi.python.org/pypi/RuSocSci rusocsci]
+
Download this site-package to use the buttonbox: [https://pypi.python.org/pypi/RuSocSci rusocsci]
    
Example using buttons from the buttonbox in Python:
 
Example using buttons from the buttonbox in Python:
Line 211: Line 211:  
bb = buttonbox.Buttonbox()
 
bb = buttonbox.Buttonbox()
   −
# wait for a single button press
+
# send a marker
 
bb.sendMarker(val=100)    #This is your marker code, range code 1-255  
 
bb.sendMarker(val=100)    #This is your marker code, range code 1-255  
 
</syntaxhighlight>
 
</syntaxhighlight>

Navigation menu