Tico servo library on Arduino Nano Every?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- redhuck
- Posts: 2
- Joined: Thu Oct 29, 2020 8:18 pm
Tico servo library on Arduino Nano Every?
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?
- westfw
- Posts: 2010
- Joined: Fri Apr 27, 2007 1:01 pm
Re: Tico servo library on Arduino Nano Every?
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.)
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.)
Please be positive and constructive with your questions and comments.