template<byte numDevices>
class LedControlMAX7221< numDevices >
LED MAX7221 device chain.
Encapsulates an MAX7221 device chain of "numDevices" on "dataPin", "clkPin", and "csPin"
Inherits LedControl.
|
| | LedControlMAX7221 (byte dataPin, byte clkPin, byte csPin) |
| | Constructor. More...
|
| |
| virtual byte | addDevice (byte count=1) override |
| | Add device to chain and return index. More...
|
| |
| virtual int | getDeviceCount () override |
| |
| virtual bool | isPowered (byte device) override |
| |
| virtual void | setPower (byte device, bool onState, byte count=1) override |
| | Enable/disable power Params : device The address of the display to control status If true the device goes into power-down mode. More...
|
| |
| virtual void | setScanLimit (byte device, byte limit, byte count=1) override |
| | Set the number of digits (or rows) to be displayed. More...
|
| |
| virtual void | setIntensity (byte device, byte intensity, byte count=1) override |
| | Set the brightness of the display. More...
|
| |
| virtual void | clearDisplay (byte device, byte count=1) override |
| | Switch all Leds on the display off. More...
|
| |
| virtual void | setLed (byte device, int row, int column, boolean state) override |
| | Set the status of a single Led. More...
|
| |
| virtual void | setRow (byte device, int row, byte value) override |
| | Set all 8 Led's in a row to a new state Params: device address of the display row row which is to be set (0..7) value each bit set to 1 will light up the corresponding Led. More...
|
| |
| virtual void | setRowNoCache (byte device, int row, byte value) override |
| | Set all 8 Led's in a row to a new state (no cache) Params: device address of the display row row which is to be set (0..7) value each bit set to 1 will light up the corresponding Led. More...
|
| |
| virtual void | setColumn (byte device, int column, byte value) override |
| | Set all 8 Led's in a column to a new state Params: device address of the display column column which is to be set (0..7) value each bit set to 1 will light up the corresponding Led. More...
|
| |
| virtual byte | getRow (byte device, byte row) override |
| |