Function uugear_ffi::attachServo[][src]

pub unsafe extern "C" fn attachServo(dev: *mut UUGearDevice, pin: c_int)

Attach the servo on given pin

parameters: dev is the pointer of the device struct pin is the digital pin that links to the signal line of servo