示例#1
0
func (l *littleWire) pwmUpdateCompare(channelA uint8, channelB uint8) error {
	C.pwm_updateCompare(l.lwHandle, C.uchar(channelA), C.uchar(channelB))
	return l.error()
}
示例#2
0
//void pwm_updateCompare(littleWire* lwHandle, unsigned char channelA, unsigned char channelB);
func (l *LittleWire) PwmUpdateCompare(channelA uint8, channelB uint8) {
	C.pwm_updateCompare(l.lwHandle, C.uchar(channelA), C.uchar(channelB))
}