Changes
Jump to navigation
Jump to search
Line 411:
Line 411:
+
Line 431:
Line 432:
+
Line 441:
Line 443:
− +
−
− +
val= forgotten
== Buttonbox in Python and PsychoPy ==
== Buttonbox in Python and 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 markers with the buttonbox in Python:
Example using markers with the buttonbox in Python:
<nowiki>
<nowiki>
#!/usr/bin/env python
#!/usr/bin/env python
# wait for a single button press
# wait for a single button press
bb.sendMarker(100) #This is your marker code, range code 1-255 </nowiki>
bb.sendMarker(val=100) #This is your marker code, range code 1-255 </nowiki>
Example using the Buttonbox in PsychoPy:
<br/>Example using the Buttonbox in PsychoPy:
<nowiki>
<nowiki>