Servo Library Issue

My code with the Servo library from arduino works with my uno R3.

I tried to compile the code in App Lab on the UNO Q but i get the following message:
/home/arduino/.arduino15/internal/Servo_1.2.2_4ee28ec4ddbfa791/Servo/src/Servo.h:81:2: error: #error "This library only supports boards with an AVR, SAM, SAMD, NRF52, STM32F4, Renesas or XMC processor."
81 | #error "This library only supports boards with an AVR, SAM, SAMD, NRF52, STM32F4, Renesas or XMC processor."

any solution please?

I think its one of the libraries that is not compatible with the new architecture. So the option is either we wait to update it or you use something custom made. Same thing happened to me when trying to drive an oled screen so I chatgpt-ed a simple "library" until a fix is available.

Hi @ventoron. The developers added support to the "Servo" library for the UNO Q earlier today:

There hasn't been a new release of the library since the time of that change, so the version you install via Library Manager still doesn't have the support. It will be available from the next release of the library, which hopefully will be out in the near future.

Thank you, will check it once again.

For now I'm using pwm directly, so its not an issue, but thanks for letting me know.

You are welcome. I'm glad you were able to find a solution to use servos with your UNO Q.

Regards, Per

I just used Servo.h and can confirm it works perfectly now.

Thanks for letting me know!