class Pigpio::RGB
- Pigpio::RGB
- Reference
- Object
Defined in:
binding.crConstant Summary
-
PI_OUTPUT =
1
-
PWM_FREQUENCY =
800
-
PWM_RANGE =
500
Constructors
Instance Method Summary
- #client : Pigpio::Client
- #color
- #cycle(rate = 20.milliseconds, &)
- #rainbow
-
#set_color(red : UInt32, green : UInt32, blue : UInt32)
0-100
- #terminate
Constructor Detail
def self.new(host : String, port : Int32, red_pin : UInt32, green_pin : UInt32, blue_pin : UInt32)
#