A base class for classes that control MAX7219 LED drivers.  
 More...
#include <AH/Hardware/LEDs/MAX7219_Base.hpp>
A base class for classes that control MAX7219 LED drivers. 
The SPI interface is used.
- Todo:
 - Wiring diagram for SPI connection. 
 
Definition at line 23 of file MAX7219_Base.hpp.
 
◆ MAX7219_Base()
◆ init()
◆ clear()
◆ send()
  
  
      
        
          | void send  | 
          ( | 
          uint8_t  | 
          digit,  | 
         
        
           | 
           | 
          uint8_t  | 
          value  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Send the value to the given digit. 
- Parameters
 - 
  
    | digit | The digit or row to set [0, 7].  | 
    | value | The value to set the row to.  | 
  
   
Definition at line 71 of file MAX7219_Base.hpp.
 
 
◆ sendRaw()
  
  
      
        
          | void sendRaw  | 
          ( | 
          uint8_t  | 
          opcode,  | 
         
        
           | 
           | 
          uint8_t  | 
          value  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Send a raw opcode and value to the MAX7219. 
- Parameters
 - 
  
    | opcode | The opcode to send.  | 
    | value | The value to send.  | 
  
   
Definition at line 83 of file MAX7219_Base.hpp.
 
 
◆ setIntensity()
  
  
      
        
          | void setIntensity  | 
          ( | 
          uint8_t  | 
          intensity | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Set the intensity of the LEDs. 
- Parameters
 - 
  
    | intensity | The intensity [0, 15].  | 
  
   
Definition at line 98 of file MAX7219_Base.hpp.
 
 
◆ DECODEMODE
  
  
      
        
          | constexpr uint8_t DECODEMODE = 9 | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ INTENSITY
  
  
      
        
          | constexpr uint8_t INTENSITY = 10 | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ SCANLIMIT
  
  
      
        
          | constexpr uint8_t SCANLIMIT = 11 | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ SHUTDOWN
  
  
      
        
          | constexpr uint8_t SHUTDOWN = 12 | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ DISPLAYTEST
  
  
      
        
          | constexpr uint8_t DISPLAYTEST = 15 | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ loadPin
◆ settings
The documentation for this class was generated from the following file: