If you are using the Arduino 101, we have an example sketch and extension to work with it, including driving the PWM pins. See this page of the site for the PWM extension documentation. If you have another Arduino version, please let us know because we are starting to plan for our next IOT iteration and want to increase our device coverage.
--
send a number from Android to Arduino by BT, 25 ... 50... 75, then Arduino code by
analogWrite(LED6, pwm); // PWM
set PWM
--
댓글 없음:
댓글 쓰기