예제 #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
파일: littleWire.go 프로젝트: heupel/gobot
//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))
}