#include <modm/driver/display/max7219.hpp>
 | 
| enum   | Register : uint8_t {  
  noop = 0x0, 
digit0 = 0x1, 
digit1 = 0x2, 
digit2 = 0x3, 
 
  digit3 = 0x4, 
digit4 = 0x5, 
digit5 = 0x6, 
digit6 = 0x7, 
 
  digit7 = 0x8, 
decodeMode = 0x9, 
intensity = 0xA, 
scanLimit = 0xB, 
 
  shutdown = 0xC, 
displayTest = 0xF
 
 } | 
|   | 
template<typename SPI, typename CS, uint8_t MODULES = 1>
class modm::Max7219< SPI, CS, MODULES >
Some light hardware abstractions of MAX7219
- Template Parameters
 - 
  
    | SPI | SPI Interface  CS Chip Select of MAX7219  | 
    | DRIVERS | Number of chips in daisy chain | 
  
   
An arbitrary number of these chips can be daisy-chained
- Author
 - Sascha Schade 
 
 
template<typename SPI , typename CS , uint8_t MODULES = 1> 
  
  
      
        
          | static void modm::Max7219< SPI, CS, MODULES >::initializeMatrix  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Initialize as an 8x8 led matrix. 
 
 
template<typename SPI , typename CS , uint8_t MODULES = 1> 
  
  
      
        
          | static void modm::Max7219< SPI, CS, MODULES >::setBrightness  | 
          ( | 
          uint8_t  | 
          intensity | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Set the brightness of the whole matrix.
- Parameters
 - 
  
  
 
 
 
template<typename SPI , typename CS , uint8_t MODULES = 1> 
  
  
      
        
          | static void modm::Max7219< SPI, CS, MODULES >::setRow  | 
          ( | 
          uint8_t  | 
          col,  | 
         
        
           | 
           | 
          uint8_t *  | 
          data  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
Set a row of the MAX7219 chips with data
- Parameters
 - 
  
    | data | A pointer to the data, at least MODULES bytes long  | 
  
   
 
 
The documentation for this class was generated from the following file: