MasterScan
Lab_Matlab_control Master Branch
|
Properties and Events | |
Property | pinBase = 'A' |
Show LEDs using Liana's arduino masterpiece. More... | |
![]() | |
Property | defaultPauseBetweenPulses = 0.1 |
for sendTTL pulses | |
![]() | |
Property | isAvailable = false |
| |
Property | clockFunction |
| |
Methods | |
self | dotsWritableDOutArduinoLEDs () |
Arguments are ultimately passed to openDevice. | |
timestamp | toggleLED (self, indexOrName, color, onOff) |
Quickly turn on LED. More... | |
timestamp | setLEDs (self, specs) |
Turn on/off LED(s) More... | |
timestamp | turnOffLEDs (self, indices) |
Turn off all LEDs. | |
![]() | |
self | dotsWritableDOutArduino () |
Arguments are ultimately passed to openDevice. | |
timestamp | writeDigitalPin (self, pin, value) |
Write to a single digital output channel. More... | |
timestamp | writeDigitalPins (self, pins, values) |
Write to a multiple digital output channels at once. More... | |
![]() | |
self | dotsWritableDOut () |
Constructor takes no arguments. | |
timestamp | sendStrobedWord (self, word, port) |
Send a strobed digital word. More... | |
timestamp | sendTTLPulse (self) |
Send a single TTL pulse. More... | |
firstTimestamp lastTimestamp | sendTTLPulses (self, numPulses, pauseBetweenPulses, channel) |
Send multiple TTL pulses Timestamps are estimates of onset times of first and last pulses. More... | |
timestamp | sendTTLSignal (self, channel, signal, frequency) |
Send a TTL signal or waveform. More... | |
![]() | |
self | dotsWritable () |
| |
initialize (self, varargin) | |
| |
time | getDeviceTime (self) |
| |
close (self) | |
| |
delete (self) | |
| |
Additional Inherited Members | |
![]() | |
Property | arduino |
Implement digital outputs using an Arduino, via the Matlab Arduino toolbox. More... | |
![]() | |
openDevice (self) | |
More... | |
closeDevice (self) | |
More... | |
![]() | |
static dout | getDefault () |
get default Dout device | |
timestamp toggleLED | ( | self | , |
indexOrName | , | ||
color | , | ||
onOff | |||
) |
Quickly turn on LED.
indexOrName is assumed to be based on Liana's 5-LED configuration: 1: Right 2: Top 3: Center 4: Left 5: Bottom Color is 'r', 'g', 'b' onOff is 0=off, 1=on,
timestamp setLEDs | ( | self | , |
specs | |||
) |
Turn on/off LED(s)
specs is cell array of index, value pairs; e.g., {1 'r' 2 'off' 3 'g'}
Property pinBase = 'A' |
Show LEDs using Liana's arduino masterpiece.
pins [0, 1, 2, 3, ...] are [r1, g1, b1, r2, ...] Created by jig from Liana Keesing's prototype July 13, 2019 For accessing hardware pins