ButtonBox: Difference between revisions
Jump to navigation
Jump to search
Wiki-admin (talk | contribs) mNo edit summary |
|||
| Line 272: | Line 272: | ||
# select a function | # select a function | ||
bb.sendMarker(val=(ord(X))) | bb.sendMarker(val=(ord('X'))) #select pulse time | ||
bb.sendMarker(val=2) #set time of dureation pulse to 2ms | bb.sendMarker(val=2) #set time of dureation pulse to 2ms | ||
bb.sendMarker(val=(ord(M))) | bb.sendMarker(val=(ord('M'))) #select marker out | ||
bb.sendMarker(val=115) | bb.sendMarker(val=115) #set marker value 115 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 341: | Line 341: | ||
<br> | <br> | ||
<br> | <br> | ||
=== Matlab === | === Matlab === | ||
'''Example using markers with the Buttonbox in Matlab:''' | '''Example using markers with the Buttonbox in Matlab:''' | ||