Prusa-MMU-Private
PrusaMultiMaterialUpgradev3firmwareforMK3SMK4
Classes | Public Member Functions | List of all members
modules::leds::LED Class Reference

A single LED. More...

#include <leds.h>

Public Member Functions

void SetMode (leds::Mode mode)
 
leds::Mode Mode () const
 
bool Step (bool oddPeriod)
 
bool On () const
 

Detailed Description

A single LED.

Member Function Documentation

◆ Mode()

leds::Mode modules::leds::LED::Mode ( ) const
inline
Returns
the currently active mode of the LED

◆ On()

bool modules::leds::LED::On ( ) const
inline
Returns
true if the LED shines

◆ SetMode()

void modules::leds::LED::SetMode ( leds::Mode  mode)

Sets the mode of the LED

Parameters
modeto set

◆ Step()

bool modules::leds::LED::Step ( bool  oddPeriod)
Returns
true if the LED shines
Parameters
oddPeriodLEDs class operates this parameter based on blinking period based on elapsed real time

The documentation for this class was generated from the following files: