tuxeatpi.components.base module

Thie module contains basic and useful classes to create Tux component like wings, eyes, ...

class tuxeatpi.components.base.BaseComponent(pins, event_queue, logger)

Bases: object

Parent class use for component like wings, eyes, ...

Define some checks about component creation and switches function for handle input events

pins = None
class tuxeatpi.components.base.Event(component, name, pin_id)

Bases: object

Event are created for each input event And store in Tux event queue