Module: BrickPi::Native::MotorSpeed
- Defined in:
- ext/brick_pi/native.c
Class Method Summary collapse
Class Method Details
.[]=(key, value) ⇒ Object
17 18 19 20 21 |
# File 'ext/brick_pi/native.c', line 17
VALUE bprb_MotorSpeed_set(VALUE self, VALUE key, VALUE value) {
int index = FIX2INT(key);
BrickPi.MotorSpeed[index] = FIX2INT(value);
return value;
}
|