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."
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.