class

Pigpio::RGB

Inherits Reference < Object

Constants

PI_OUTPUT = 1
PWM_FREQUENCY = 800
PWM_RANGE = 500

Constructors

new(host : String, port : Int32, red_pin : UInt32, green_pin : UInt32, blue_pin : UInt32)
Source

Instance methods

client
Source
color
Source
cycle(rate = 20.milliseconds, &)
Source
rainbow
Source
set_color(red : UInt32, green : UInt32, blue : UInt32)

0-100

Source
terminate
Source