Output QML Type

Set the level of an Raspberry Pi gpio pin.

Import Statement:import com.dieklingel.gpio 1.0
InheritsQObject

Properties

pin: int

value: bool

Signals

pinChanged()

valueChanged()

Example Usage

import com.dieklingel.gpio 1.0

Output {
    pin: 17
    value: true
}

Property Documentation

pin: int

The BCM pin of the Raspberry Pi to use as output.

value: bool

The value which the Raspberry Pi pin should have.