92 void setChar(
int digit,
char value,
bool dp=
false,
int addr = 0);
102 void setColumn(
int col, uint8_t value,
int addr = 0);
113 void setDigit(
int digit, uint8_t value,
bool dp=
false,
int addr = 0);
133 void setLed(
int row,
int col,
bool state,
int addr = 0);
144 void setNumber(uint32_t number,
int addr = 0);
154 void setRow(
int row, uint8_t value,
int addr = 0);
176 void shutdown(
bool status,
int addr = 0);
180 void spiTransfer(
int addr, uint8_t opcode, uint8_t data);
MAX7219 and MAX7221 controller.
Definition: MAX7219.h:52
void setNumber(uint32_t number, int addr=0)
Display a number on the 7-Segment display.
Definition: MAX7219.cpp:238
int getDeviceCount()
Gets the number of devices attached to this MAX7219.
Definition: MAX7219.cpp:103
Handle SPI protocol.
Definition: SPI.h:15
MAX7219(SPI *spi, int numDevices=1)
Create a new MAX7219 controller.
Definition: MAX7219.cpp:79
void setColumn(int col, uint8_t value, int addr=0)
Set all 8 Led's in a column to a new state.
Definition: MAX7219.cpp:178
void setScanLimit(int limit, int addr=0)
Set the number of digits (or rows) to be displayed. See datasheet for side effects of the scanlimit o...
Definition: MAX7219.cpp:119
void setLed(int row, int col, bool state, int addr=0)
Set the status of a single Led.
Definition: MAX7219.cpp:147
void shutdown(bool status, int addr=0)
Set the shutdown (power saving) mode for the device.
Definition: MAX7219.cpp:108
void setDigit(int digit, uint8_t value, bool dp=false, int addr=0)
Display a hexadecimal digit on a 7-Segment Display.
Definition: MAX7219.cpp:191
void setChar(int digit, char value, bool dp=false, int addr=0)
Display a character on a 7-Segment display.
Definition: MAX7219.cpp:205
void setRow(int row, uint8_t value, int addr=0)
Set all 8 Led's in a row to a new state.
Definition: MAX7219.cpp:168
void setIntensity(int intensity, int addr=0)
Set the brightness of the display.
Definition: MAX7219.cpp:127
void clearDisplay(int addr)
Switch all Leds on the display off.
Definition: MAX7219.cpp:135