LED

Provide pycom specific functions.

class mauzr.platform.pycom.led.LED(core)

Bases: object

Manage the status LED on the board.

Parameters:core (object) – Core instance to use.
ACT = 514

Color for system acting.

BEAT = 2

Color for system heartbeat.

DISCONNECTED = 16711935

Color for system disconnection.

FAIL = 16711680

Color for system failure.

INIT = 16748544

Color for system init.

MANUAL = 16777215

Color for system in manual mode.

RUN = 512

Color for system operational.

set(color)

Set a color for one display frame.

Parameters:color (int) – Color to set.
static simple_set(color)

Set the color.

Parameters:color (int) – Color to set.