Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

otMAX7219 Class Reference
[MAX7219 - Serially Interfaced, 8-Digit LED Display DriversMAX7219 - Serially Interfaced, 8-Digit LED Display Drivers]

Driver class for MAX7219 8-Digit LED Display Drivers.

#include <otMAX7219.h>


Public Member Functions

 otMAX7219 ()
void init (U8 add)
void shutdownStop ()
void displayTestStart ()
void displayTestStop ()
void clear ()
void setBrightness (char brightness)
void displayText (const char *text, bool rightJustify=false)


Constructor & Destructor Documentation

otMAX7219.otMAX7219  ) 
 

Create object for the MAX7219


Member Function Documentation

void otMAX7219.clear  ) 
 

Clear display contents

void otMAX7219.displayTestStart  ) 
 

Start display test, all segments are on.

void otMAX7219.displayTestStop  ) 
 

Stop display test

void otMAX7219.displayText const char *  text,
bool  rightJustify = false
 

Display a text on the display

Parameters:
text Text to display
rightJustify True if the string is right justified

void otMAX7219.init U8  add  ) 
 

Initialise interface with given parameters/settings

Parameters:
add Peripheral SPI address you must specify one of: SA_MAX7219_A, SA_MAX7219_B, SA_MAX7219_C

void otMAX7219.setBrightness char  brightness  ) 
 

Set display brightness

Parameters:
brightness Accept values in the range 0 15

void otMAX7219.shutdownStop  ) 
 

Shut down peripheral


The documentation for this class was generated from the following file: footer
otStudio - Library Reference - (C) 2020-23 Officina Turini, All Rights Reserved
Document built with Doxygen 1.4.0