#include const byte motor = 2; unsigned int duty = 255; Pwm pwm = Pwm(); void setup() { } void loop() { pwm.write(motor, duty); }