pixled-lib  1.0
Classes | Enumerations | Functions
pixled::mapping Namespace Reference

Classes

class  TurtleMapping
 
class  LedStrip
 
class  LedPanel
 

Enumerations

enum  PANEL_LINKING {
  LEFT_RIGHT_LEFT_RIGHT_FROM_BOTTOM , LEFT_RIGHT_RIGHT_LEFT_FROM_BOTTOM , RIGHT_LEFT_RIGHT_LEFT_FROM_BOTTOM , RIGHT_LEFT_LEFT_RIGHT_FROM_BOTTOM ,
  LEFT_RIGHT_LEFT_RIGHT_FROM_TOP , LEFT_RIGHT_RIGHT_LEFT_FROM_TOP , RIGHT_LEFT_RIGHT_LEFT_FROM_TOP , RIGHT_LEFT_LEFT_RIGHT_FROM_TOP ,
  TOP_DOWN_TOP_DOWN_FROM_LEFT , TOP_DOWN_DOWN_TOP_FROM_LEFT , DOWN_TOP_DOWN_TOP_FROM_LEFT , DOWN_TOP_TOP_DOWN_FROM_LEFT ,
  TOP_DOWN_TOP_DOWN_FROM_RIGHT , TOP_DOWN_DOWN_TOP_FROM_RIGHT , DOWN_TOP_DOWN_TOP_FROM_RIGHT , DOWN_TOP_TOP_DOWN_FROM_RIGHT
}
 

Functions

std::ostream & operator<< (std::ostream &o, const Mapping &m)
 

Detailed Description

Namespace containing predefined extensions of the Mapping class.

Enumeration Type Documentation

◆ PANEL_LINKING

All possible panel linking techniques (at least, relatively reasonable ones).

See the Mapping wiki for more detailed informations.

Function Documentation

◆ operator<<()

std::ostream & pixled::mapping::operator<< ( std::ostream &  o,
const Mapping m 
)

Mapping output stream operator.

Builds a fancy 2D string representation of a Mapping that can easily be used for debug purpose on embedded systems.