j5.boards.j5 package

Submodules

j5.boards.j5.demo module

Classes for demonstration purposes.

class j5.boards.j5.demo.DemoBoard(serial: str, environment: j5.backends.base.Environment)[source]

Bases: j5.boards.base.Board

A board for demo purposes, containing 3 LEDs.

static discover(backend: j5.backends.base.Backend) → List[j5.boards.base.Board][source]

Detect all connected boards of this type and return them.

firmware_version

Get the firmware version of this board.

leds

Get the leds on the board.

make_safe() → None[source]

Make this board safe.

name

Get a human friendly name for this board.

serial

Get the serial number.

static supported_components() → List[Type[Component]][source]

List the types of component supported by this Board.

Module contents

Boards developed by j5.

class j5.boards.j5.DemoBoard(serial: str, environment: j5.backends.base.Environment)[source]

Bases: j5.boards.base.Board

A board for demo purposes, containing 3 LEDs.

static discover(backend: j5.backends.base.Backend) → List[j5.boards.base.Board][source]

Detect all connected boards of this type and return them.

firmware_version

Get the firmware version of this board.

leds

Get the leds on the board.

make_safe() → None[source]

Make this board safe.

name

Get a human friendly name for this board.

serial

Get the serial number.

static supported_components() → List[Type[Component]][source]

List the types of component supported by this Board.