Home/Support/Support Forum/Is there any way to change the PWM on an xbee3 without changing duty cycle in XCTU

Is there any way to change the PWM on an xbee3 without changing duty cycle in XCTU

0 votes
I would like to use the java script code to change the duty cycle of the pwm on the xbee3 instead of having to set it in XCTU. This change in duty cycle would be based on changes in voltage of a potentiometer, and would adjust the speed of a motor. Is there any syntax that can do this in java other than. Basically can i change IOValue to something other than high/low

remote.setDIOValue(LINE, IOValue.HIGH);
sleep(1000);
remote.setDIOValue(LINE, IOValue.LOW);
sleep(1000);
asked Nov 21, 2019 in RF Solutions and XBee by TrentJ New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
You could try to use the PWM Micro Python sample app in PyCharm and the micro python sample library.
answered Nov 21, 2019 by mvut Veteran of the Digi Community (12,829 points)
...