MaxMatrix
Drive chained 8x8 LED dot matrix modules with MAX7219.
Loading...
Searching...
No Matches
Command.h File Reference

Commands for the matrix, one per line of text. More...

#include "Arduino.h"
#include "MaxMatrixAttributes.h"
#include "MaxMatrixConfig.h"
#include "MaxMatrixError.h"
#include "MaxMatrixStandardTypes.h"
#include "Utility/array.h"
#include "Utility/span.h"

Go to the source code of this file.

Classes

class  max_matrix::Command
 The lines of text a control page or program sends, carried out on a Matrix. More...

Enumerations

enum class  max_matrix::CommandState : uint8_t { kPending , kDone , kAnswered }
 What Command::Feed() says about the char it was given, when the line did not fail; why it failed is the error beside it. More...

Detailed Description

Commands for the matrix, one per line of text.

The lines a control page or program sends to a board over Serial, read char by char, carried out on a Matrix and answered on a Print. Knows nothing of where the chars come from.

Enumeration Type Documentation

◆ CommandState

enum class max_matrix::CommandState : uint8_t
strong

What Command::Feed() says about the char it was given, when the line did not fail; why it failed is the error beside it.

Enumerator
kPending 

The line goes on, or was empty.

kDone 

The line was a command, and it is carried out.

kAnswered 

The line asked for something, and the answer is printed.