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);