Tico servo library on Arduino Nano Every?

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
redhuck
 
Posts: 2
Joined: Thu Oct 29, 2020 8:18 pm

Tico servo library on Arduino Nano Every?

Post by redhuck »

I tried TicoServo library on Arduino Nano Every, but it gives me a long error messge and won't run. It says it can't run because Nano Every has megaavr architecture. Is there a way to fix this?

User avatar
westfw
 
Posts: 2005
Joined: Fri Apr 27, 2007 1:01 pm

Re: Tico servo library on Arduino Nano Every?

Post by westfw »

The TiCoServo library uses one of the AVR timers to generate the Servo pulse directly, instead of using a partially-interrupt based scheme that neopixels interfere with.

The chip on the Every (a megaAVR atmega4809) has entirely different timers, so essentially it needs a completely different library :-( (although, the principles should stay the same.)

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”