Exemple #1
0
func (l *littleWire) servoUpdateLocation(locationA uint8, locationB uint8) error {
	C.servo_updateLocation(l.lwHandle, C.uchar(locationA), C.uchar(locationB))
	return l.error()
}
Exemple #2
0
//void servo_updateLocation(littleWire* lwHandle,unsigned char locationChannelA,unsigned char locationChannelB);
func (l *LittleWire) ServoUpdateLocation(locationChannelA uint8, locationChannelB uint8) {
	C.servo_updateLocation(l.lwHandle, C.uchar(locationChannelA), C.uchar(locationChannelB))
}