pynq.lib.led Module

The pynq.lib.rgbled module is a driver for controlling onboard single-color Light Emitting Diodes (LEDs).

class pynq.lib.led.LED(device)[source]

Bases: object

This class controls the onboard leds.

_impl

An object with appropriate LED methods

Type:object
off()[source]

Turn off led.

on()[source]

Turn on led.

toggle()[source]

Toggle led on/off.