setting the output range with FastPID library

hi, im trying to use the fast PID library and want set the output range to -255 - 255 for dual pwm reasons.

The library says you can set the range (GitHub - mike-matera/FastPID: A fast, integer based PID controller suitable for Arduino.) using this :

bool setOutputRange(int16_t min, int16_t max);

but i dont know how to use the command in the sketch? any ideas? thankyou :).

Just include it inside you setup() function

FastPID myPID(Kp, Ki, Kd, Hz, output_bits, output_signed);

void setup() {
  //...
  myPID.setOutputRange(-255, 255);
  //...

thankyou! i dont know how i missed trying that...

Hello, can u explain dual PWM?