MasterScan  Lab_Matlab_control Master Branch
List of all members | Protected Properties | Methods
dotsWritableLEDsArduino Class Reference
Inheritance diagram for dotsWritableLEDsArduino:
Inheritance graph
[legend]

Protected Properties

Property arduino
 Class for turning a bank of LEDs on/off using Liana's Magical Arduino Controller. More...
 
Property pinBase = 'A'
 For accessing hardware pins.
 

Methods

self dotsWritableLEDsArduino (numLEDs)
 % Constructor
 
timestamp toggleLEDs (self, indices)
 % Turn on/off LED(s) More...
 
- Methods inherited from dotsWritableLEDs
self dotsWritableLEDs ()
 Arguments are ultimately passed to openDevice.
 
 set (self, indices, colors)
 Set specs. More...
 
timestamp blankLEDs (self)
 Turn off all LEDs.
 
- Methods inherited from dotsWritable
self dotsWritable ()
 

Constructor takes no arguments.


 
 initialize (self, varargin)
 

Locate, acquire, configure, etc. device and component resources.


 
time getDeviceTime (self)
 

Get the current time from clockFunction.


 
 close (self)
 

Release any resources acquired by initialize().


 
 delete (self)
 

Automatically close when Matlab is done with this object.


 

Additional Inherited Members

- Properties and Events inherited from dotsWritableLEDs
Property numLEDs
 Class for turning a bank of LEDs on/off. More...
 
Property specs
 Specs for color (other?)
 
- Properties and Events inherited from dotsWritable
Property isAvailable = false
 

whether or not the object is ready to read() from


 
Property clockFunction
 

any function that returns the current time as a number


 
- Protected Methods inherited from dotsWritable
 openDevice (self)
 

Locate and acquire input device resources (for subclasses).

More...
 
 closeDevice (self)
 

Release input device resources (for subclasses).

More...
 

Methods

◆ toggleLEDs()

timestamp toggleLEDs ( self  ,
indices   
)

% Turn on/off LED(s)

indices is {[on] [off]}

Properties and Events

◆ arduino

Property arduino
protected

Class for turning a bank of LEDs on/off using Liana's Magical Arduino Controller.

LEDs are each controlled by RGB triplet, starting at 0 Created by jig 07/17/2019 The Arduino


The documentation for this class was generated from the following file: