I'm assuming the other thread was closed by accident....
I also needed a way of reversing the servo action... because of the mount mechanics. ie by making mCamera -veNow to interesting stuff, first what I like:
- separte mCamera and bCamera variables for each axis, I thought about it (my roll servo may need to go at different speed because of mount mechanics) and you did it already.
Not sure why my roll servo wasn't centered to start with... assumed it was cheap servo weirdness but maybe I need to double check the mechanics.- pitchbCamera = 1300; - nice touch, camera pointing slightly down initially, but why rollbCamera = 1300; ? Wouldn't it make it tilted when started?
I just assumed that not creating a servo instance would save space and not executing the code save time. I wasn't wanting pick to on yaw, I was going to do it for all axis but got lazy.What I don't like: Why did you commented out the yaw pin and put in all those ifdef's for the yaw motor? if you don't need it just don't connect the motor to the pin, or even comment it out in your version, code should be as general to everybody as possible.
It's still using the servo.h... and the servo's still jitter. Just tried it with the receiver on for the first time... taken the wind from my sails a bit. Did you have any ideas about how to fix this?CupOfTea & Itod, I've been meaning to ask you guys, in the past I've had problems with having PCINT on for reading receiver pins and using servo.h for controlling servos at the same time. It would jitter pretty consistently. Did something happen in 0021, or did you somehow optimize this to work together now? I glanced at Itod's first implementation, but it seemed like he just used the built in libraries?
Woohoo if it works automatically now!