RPi

object RPi
class Object
trait Matchable
class Any

Type members

Classlikes

final case
class Pin(index: Ex[Int]) extends Pin

A pin on the Raspberry Pi GPIO.

A pin on the Raspberry Pi GPIO.

Value Params
index

the zero-based index on the GPIO. This is clipped to the valid range (0-31). This uses the Wiring-Pi scheme, so index zero is physical pin 11 or pin number 17 in the BCM scheme. On the Pi 3B and 4B, there are effectively 21 GPIO pins, numbered 0 to 20.

Companion
object
object Pin extends ProductReader[Pin]
Companion
class