문제

How to control Servo Motor with Android using IOIO board? What is the android code behind it and what kind of input is required?

도움이 되었습니까?

해결책

This is a common question when using the IOIO, and the answer is easily Googleable. Also, please adhere to the SO guidelines when posting, showing what you have tried, and what you are having problems with.

Servo control is PWM, which is a function built into the IOIO library:

PwmOutput pwm = ioio.openPwmOutput(pinNum, freq);
pwm.setDutyCycle(dc);
pwm.setPulseWidth(pw);

See this page

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top