# Trinket M0 PWM ValueError: duty_cycle must be between 0 and 65535 inclusive (16 bit resolution)

I'm trying to control a servo motor from a Trinket M0. My circuitpython code is:

import time
import board
import pulseio

• PWM duty_cycle must be between 0 and 65535 inclusive (16 bit resolution). .... that is the whole error message? .... there is nothing else? – jsotola Jun 18 '20 at 1:18