![]() |
8x8 Led Matrix Library 1.0.0
This is a library for the 8x8 Led Matrix by Soldered
|
#include <MD_EyePair.h>
Public Member Functions | |
MD_EyePair (void) | |
~MD_EyePair (void) | |
void | begin (uint8_t startdev, Led_Matrix *M, uint16_t maxDelay) |
void | animate (void) |
Protected Types | |
enum | posPupil_t { P_TL = 0 , P_TC = 1 , P_TR = 2 , P_ML = 3 , P_MC = 4 , P_MR = 5 , P_BL = 6 , P_BC = 7 , P_BR = 8 } |
Protected Member Functions | |
void | drawEyeball (void) |
bool | blinkEyeball (bool bFirst) |
void | drawPupil (posPupil_t posOld, posPupil_t posNew) |
bool | posIsAdjacent (posPupil_t posCur, posPupil_t posNew) |
uint16_t | bitOut (uint8_t port) |
uint32_t | seedOut (uint16_t noOfBits, uint8_t port) |
Protected Attributes | |
Led_Matrix * | _M |
uint8_t | _sd |
uint8_t | _ed |
uint32_t | _lastBlinkTime |
uint16_t | _currentDelay |
uint8_t | _blinkState |
uint8_t | _savedEyeball [EYEBALL_ROWS] |
uint8_t | _blinkLine |
posPupil_t | _pupilCurPos |
uint32_t | _timeLast |
uint16_t | _timeDelay |
uint16_t | _maxDelay |
bool | _inBlinkCycle |
Static Protected Attributes | |
static uint8_t | _pupilData [] |
static uint8_t | _eyeballData [] = {0x00, 0x3c, 0x7e, 0x7e, 0x7e, 0x7e, 0x3c, 0x00} |
|
protected |
MD_EyePair::MD_EyePair | ( | void | ) |
|
inline |
void MD_EyePair::animate | ( | void | ) |
void MD_EyePair::begin | ( | uint8_t | startdev, |
Led_Matrix * | M, | ||
uint16_t | maxDelay ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |