hello I've been looking for a solution to my problem for months I want to create an animatronic and for that I use servo motors and a uno as well as a PA9685 but when I start the upload nothing happens . Could you help me ?
Your topic was MOVED to its current forum category as it is more suitable than the original
A question for you
Do you think that it might help if you posted your sketch, a schematic of your project and details of the hardware being used such as the Arduino board that you are using ?
Test the UNO with a blink sketch and ensure you can upload OK
Move on to a known-good sketch to check your PA9685:
https://create.arduino.cc/projecthub/jithinsanal1610/servo-motor-using-arduino-pca9685-16-chanel-module-d9666e
I just tried the tutorial with these connections with an arduino nano as in the tutorial but nothing happens...
and this my program :
/*
Blender Animation to Servos
*/
#include <Servo.h>
#define FPS 24
#define FRAMES 1441
const byte VerticalServoPin = 4;
const byte HorizontalServoPin = 5;
const byte BeakServoPin = 6;
Servo VerticalServo;
Servo HorizontalServo;
Servo BeakServo;
// Exported position arrays (via .h file export option) can be placed here
const float RavenVertical[1441] PROGMEM = {90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.49, 88.09, 85.97, 83.31, 80.29, 77.1, 73.9, 70.88, 68.23, 66.1, 64.7, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 64.19, 65.08, 67.45, 70.88, 74.95, 79.24, 83.31, 86.74, 89.11, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.41, 87.82, 85.46, 82.61, 79.5, 76.39, 73.54, 71.18, 69.59, 69.0, 69.59, 71.18, 73.54, 76.39, 79.5, 82.61, 85.46, 87.82, 89.41, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.42, 87.84, 85.51, 82.68, 79.6, 76.52, 73.69, 71.36, 69.78, 69.2, 69.78, 71.36, 73.69, 76.52, 79.6, 82.68, 85.51, 87.84, 89.42, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.27, 87.33, 84.59, 81.45, 78.31, 75.57, 73.63, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 73.49, 75.06, 77.33, 80.03, 82.87, 85.57, 87.84, 89.41, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.33, 87.5, 84.82, 81.55, 78.0, 74.45, 71.18, 68.5, 66.67, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.67, 68.5, 71.18, 74.45, 78.0, 81.55, 84.82, 87.5, 89.33, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.56, 88.34, 86.5, 84.19, 81.57, 78.8, 76.03, 73.41, 71.1, 69.26, 68.04, 67.6, 68.12, 69.55, 71.69, 74.33, 77.28, 80.32, 83.27, 85.91, 88.05, 89.48, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.29, 87.38, 84.56, 81.13, 77.4, 73.67, 70.24, 67.42, 65.51, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 64.8, 65.3, 66.67, 68.74, 71.33, 74.28, 77.4, 80.52, 83.47, 86.06, 88.13, 89.5, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.29, 87.39, 84.63, 81.37, 77.93, 74.67, 71.91, 70.01, 69.3, 70.01, 71.91, 74.67, 77.93, 81.37, 84.63, 87.39, 89.29, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.12, 86.8, 83.51, 79.75, 75.99, 72.7, 70.38, 69.5, 70.38, 72.7, 75.99, 79.75, 83.51, 86.8, 89.12, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.42, 87.84, 85.51, 82.68, 79.6, 76.52, 73.69, 71.36, 69.78, 69.2, 69.78, 71.36, 73.69, 76.52, 79.6, 82.68, 85.51, 87.84, 89.42, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.27, 87.33, 84.59, 81.45, 78.31, 75.57, 73.63, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 72.9, 73.49, 75.06, 77.33, 80.03, 82.87, 85.57, 87.84, 89.41, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.33, 87.5, 84.82, 81.55, 78.0, 74.45, 71.18, 68.5, 66.67, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.67, 68.5, 71.18, 74.45, 78.0, 81.55, 84.82, 87.5, 89.33, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.56, 88.34, 86.5, 84.19, 81.57, 78.8, 76.03, 73.41, 71.1, 69.26, 68.04, 67.6, 68.12, 69.55, 71.69, 74.33, 77.28, 80.32, 83.27, 85.91, 88.05, 89.48, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0};
const float RavenHorizontal[1441] PROGMEM = {90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.7, 88.84, 87.5, 85.73, 83.62, 81.24, 78.64, 75.91, 73.1, 70.29, 67.56, 64.96, 62.58, 60.47, 58.7, 57.36, 56.5, 56.2, 56.2, 56.2, 56.2, 56.2, 56.2, 56.2, 56.2, 56.2, 56.2, 56.2, 56.2, 56.71, 58.17, 60.46, 63.47, 67.1, 71.22, 75.74, 80.53, 85.49, 90.51, 95.47, 100.26, 104.78, 108.9, 112.53, 115.54, 117.83, 119.29, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.8, 119.21, 117.59, 115.14, 112.07, 108.59, 104.9, 101.21, 97.73, 94.66, 92.21, 90.59, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.44, 87.91, 85.62, 82.79, 79.63, 76.37, 73.21, 70.38, 68.09, 66.56, 66.0, 66.0, 66.0, 66.0, 66.0, 66.0, 66.56, 68.09, 70.38, 73.21, 76.37, 79.63, 82.79, 85.62, 87.91, 89.44, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.72, 92.68, 95.62, 99.26, 103.31, 107.49, 111.54, 115.18, 118.12, 120.08, 120.8, 120.8, 120.8, 120.8, 120.8, 120.8, 120.8, 120.8, 120.8, 120.8, 120.8, 120.8, 120.8, 120.8, 120.8, 120.22, 118.59, 116.04, 112.72, 108.76, 104.31, 99.51, 94.49, 89.41, 84.39, 79.59, 75.14, 71.18, 67.86, 65.31, 63.68, 63.1, 63.1, 63.1, 63.1, 63.1, 63.1, 63.1, 63.1, 63.1, 63.1, 63.1, 63.1, 63.1, 63.1, 63.73, 65.44, 68.01, 71.18, 74.72, 78.38, 81.92, 85.09, 87.66, 89.37, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.22, 87.09, 83.9, 79.96, 75.57, 71.03, 66.64, 62.7, 59.51, 57.38, 56.6, 56.6, 56.6, 56.6, 56.6, 56.6, 56.6, 56.6, 56.6, 56.6, 56.6, 56.6, 57.54, 60.17, 64.2, 69.37, 75.38, 81.95, 88.8, 95.65, 102.22, 108.23, 113.4, 117.43, 120.06, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 120.28, 118.3, 115.34, 111.68, 107.61, 103.39, 99.32, 95.66, 92.7, 90.72, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.24, 87.16, 84.05, 80.2, 75.92, 71.48, 67.2, 63.35, 60.24, 58.16, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 58.05, 59.9, 62.79, 66.59, 71.13, 76.27, 81.87, 87.76, 93.8, 99.84, 105.73, 111.33, 116.47, 121.01, 124.81, 127.7, 129.55, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 129.52, 127.6, 124.59, 120.68, 116.01, 110.77, 105.11, 99.2, 93.2, 87.29, 81.63, 76.39, 71.72, 67.81, 64.8, 62.88, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.68, 64.06, 66.24, 69.12, 72.59, 76.56, 80.94, 85.61, 90.48, 95.45, 100.42, 105.29, 109.96, 114.34, 118.31, 121.78, 124.66, 126.84, 128.22, 128.7, 128.14, 126.54, 124.02, 120.7, 116.71, 112.17, 107.2, 101.92, 96.46, 90.94, 85.48, 80.2, 75.23, 70.69, 66.7, 63.38, 60.86, 59.26, 58.7, 58.7, 58.7, 58.7, 58.7, 58.7, 58.7, 58.7, 58.7, 58.7, 58.7, 59.32, 61.02, 63.59, 66.81, 70.47, 74.35, 78.23, 81.89, 85.11, 87.68, 89.38, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.43, 87.84, 85.44, 82.43, 79.02, 75.4, 71.78, 68.37, 65.36, 62.96, 61.37, 60.8, 60.8, 60.8, 60.8, 60.8, 60.8, 60.8, 60.8, 60.8, 60.8, 60.8, 60.8, 60.8, 60.8, 60.8, 60.8, 61.21, 62.4, 64.27, 66.75, 69.76, 73.21, 77.03, 81.13, 85.44, 89.87, 94.33, 98.76, 103.07, 107.17, 110.99, 114.44, 117.45, 119.93, 121.8, 122.99, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 123.4, 122.84, 121.27, 118.88, 115.86, 112.38, 108.62, 104.78, 101.02, 97.54, 94.52, 92.13, 90.56, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.39, 87.7, 85.16, 81.96, 78.34, 74.5, 70.66, 67.04, 63.84, 61.3, 59.61, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.0, 59.57, 61.18, 63.71, 67.03, 71.0, 75.49, 80.37, 85.52, 90.8, 96.08, 101.23, 106.11, 110.6, 114.57, 117.89, 120.42, 122.03, 122.6, 122.6, 122.6, 122.6, 122.6, 122.6, 122.6, 122.6, 122.6, 122.6, 122.6, 122.6, 122.6, 122.6, 122.6, 122.6, 122.6, 122.6, 122.6, 122.6, 122.6, 122.6, 122.6, 122.17, 120.93, 118.98, 116.4, 113.29, 109.73, 105.81, 101.62, 97.26, 92.8, 88.34, 83.98, 79.79, 75.87, 72.31, 69.2, 66.62, 64.67, 63.43, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.34, 64.32, 65.88, 67.95, 70.48, 73.41, 76.67, 80.2, 83.95, 87.85, 91.84, 95.86, 99.85, 103.75, 107.5, 111.03, 114.29, 117.22, 119.75, 121.82, 123.38, 124.36, 124.7, 124.7, 124.7, 124.7, 124.7, 124.7, 124.7, 124.7, 124.7, 124.7, 124.7, 124.7, 124.7, 124.7, 124.7, 124.7, 124.7, 124.7, 124.7, 124.7, 124.7, 124.7, 124.35, 123.37, 121.84, 119.84, 117.46, 114.78, 111.89, 108.88, 105.82, 102.81, 99.92, 97.24, 94.86, 92.86, 91.33, 90.35, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.22, 87.09, 83.9, 79.96, 75.57, 71.03, 66.64, 62.7, 59.51, 57.38, 56.6, 56.6, 56.6, 56.6, 56.6, 56.6, 56.6, 56.6, 56.6, 56.6, 56.6, 56.6, 57.54, 60.17, 64.2, 69.37, 75.38, 81.95, 88.8, 95.65, 102.22, 108.23, 113.4, 117.43, 120.06, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 121.0, 120.28, 118.3, 115.34, 111.68, 107.61, 103.39, 99.32, 95.66, 92.7, 90.72, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.24, 87.16, 84.05, 80.2, 75.92, 71.48, 67.2, 63.35, 60.24, 58.16, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 57.4, 58.05, 59.9, 62.79, 66.59, 71.13, 76.27, 81.87, 87.76, 93.8, 99.84, 105.73, 111.33, 116.47, 121.01, 124.81, 127.7, 129.55, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 130.2, 129.52, 127.6, 124.59, 120.68, 116.01, 110.77, 105.11, 99.2, 93.2, 87.29, 81.63, 76.39, 71.72, 67.81, 64.8, 62.88, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.2, 62.68, 64.06, 66.24, 69.12, 72.59, 76.56, 80.94, 85.61, 90.48, 95.45, 100.42, 105.29, 109.96, 114.34, 118.31, 121.78, 124.66, 126.84, 128.22, 128.7, 128.14, 126.54, 124.02, 120.7, 116.71, 112.17, 107.2, 101.92, 96.46, 90.94, 85.48, 80.2, 75.23, 70.69, 66.7, 63.38, 60.86, 59.26, 58.7, 58.7, 58.7, 58.7, 58.7, 58.7, 58.7, 58.7, 58.7, 58.7, 58.7, 59.46, 61.62, 64.97, 69.31, 74.45, 80.18, 86.32, 92.65, 98.98, 105.12, 110.85, 115.99, 120.33, 123.68, 125.84, 126.6, 126.6, 126.6, 126.6, 126.6, 126.6, 126.6, 126.13, 124.82, 122.79, 120.18, 117.11, 113.72, 110.13, 106.47, 102.88, 99.49, 96.42, 93.81, 91.78, 90.47, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0};
const float RavenBeak[1441] PROGMEM = {90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.13, 86.78, 83.39, 79.37, 75.13, 71.11, 67.72, 65.37, 64.5, 65.21, 67.15, 70.01, 73.48, 77.25, 81.02, 84.49, 87.35, 89.29, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 89.13, 86.78, 83.39, 79.37, 75.13, 71.11, 67.72, 65.37, 64.5, 65.21, 67.15, 70.01, 73.48, 77.25, 81.02, 84.49, 87.35, 89.29, 90.0, 89.29, 87.35, 84.49, 81.02, 77.25, 73.48, 70.01, 67.15, 65.21, 64.5, 65.21, 67.15, 70.01, 73.48, 77.25, 81.02, 84.49, 87.35, 89.29, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 88.9, 86.02, 81.93, 77.25, 72.57, 68.48, 65.6, 64.5, 65.6, 68.48, 72.57, 77.25, 81.93, 86.02, 88.9, 90.0, 90.0, 90.0, 90.0, 90.0, 86.02, 77.25, 68.48, 64.5, 66.27, 70.15, 74.03, 75.8, 74.62, 71.82, 68.48, 65.68, 64.5, 67.15, 73.48, 81.02, 87.35, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 88.11, 83.39, 77.25, 71.11, 66.39, 64.5, 66.39, 71.11, 77.25, 83.39, 88.11, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 88.11, 83.39, 77.25, 71.11, 66.39, 64.5, 66.39, 71.11, 77.25, 83.39, 88.11, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 88.9, 86.02, 81.93, 77.25, 72.57, 68.48, 65.6, 64.5, 65.6, 68.48, 72.57, 77.25, 81.93, 86.02, 88.9, 90.0, 90.0, 90.0, 90.0, 90.0, 86.02, 77.25, 68.48, 64.5, 66.27, 70.15, 74.03, 75.8, 74.62, 71.82, 68.48, 65.68, 64.5, 67.15, 73.48, 81.02, 87.35, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 88.11, 83.39, 77.25, 71.11, 66.39, 64.5, 66.39, 71.11, 77.25, 83.39, 88.11, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 88.11, 83.39, 77.25, 71.11, 66.39, 64.5, 66.39, 71.11, 77.25, 83.39, 88.11, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 90.0};
const float frameDurationMillis = 1000 / FPS;
const float animationDurationMillis = FRAMES * frameDurationMillis;
unsigned long startMillis = 0;
void setup()
{
VerticalServo.attach(VerticalServoPin);
HorizontalServo.attach(HorizontalServoPin);
BeakServo.attach(BeakServoPin);
}
void loop()
{
unsigned long currentMillis = millis();
unsigned long positionMillis = currentMillis - startMillis;
if (positionMillis >= animationDurationMillis)
{
startMillis = currentMillis;
}
else
{
unsigned frame = floor(positionMillis / frameDurationMillis);
int positionValue;
// Copy and adjust the following two lines for each additional servo / bone
positionValue = pgm_read_word_near(RavenVertical + frame);
VerticalServo.write(positionValue);
positionValue = pgm_read_word_near(RavenHorizontal + frame);
HorizontalServo.write(positionValue);
positionValue = pgm_read_word_near(RavenBeak + frame);
BeakServo.write(positionValue);
}
}
Did you try with the tutorial connections: that is, verbatim?
When working remotely (as I am) and you deviate from a connection diagram or tutorial, you introduce changes that negate the concept of "known-good".
Did you try uploading the "blink sketch example"? If so, did that work as expected?
code tags! Please use 'em.
yes but not work...
sorry but I do not understand
As you are the owner of the Arduino and "blink" does not work, did the code upload from the ArduinoIDE without error(s) or did you get errors.
Describe your board, IDE version, and anything you think I should know... like AC powered or battery powered...
I refer you to this discussion that I had with a person from the forum maybe you would understand and could help me if you need more things tell me.
All fine and well, but I just want to know:
- Can you blink the onboard LED using the example blink sketch?
- If you can do the above, then you (I think) stated the forum test sketch for the PCA9685 did not work.
If the Arduino can be programmed but the PCA9685 test fails, then
- maybe a wiring error
- maybe a bad jumper or poor connection
- maybe a defective PCA9685
- maybe a defective output pin on Arduino board
- maybe the batteries are too weak
- Maybe the PCA9685 is working but a bad servo...
Elimination must be thoughtful and you start by verifying the Arduino.
-
If blink sketch works on built-in LED, edit sketch to use each PCA9685 output pin in order by testing with an external LED and dropping resistor.
-
if Arduino is healthy, load a servo test sketch and test the servos.
-
If arduino and servos are good, rewire the driver board and retest.
Sorry, but finding problems pretty much distills to your skill on eliminating potential issues, one-by-one. Just takes time.
Ray
the led blink but the servos do not move...
Then, I gave you a list of how I would move forward.
There really is not an easy way, divide the problem into simple tests, starting with the working blink sketch and changing the output pin to test connections going to the driver board ... pin by pin using LED and at least 330 Ohm resistor (470 up to 1K all OK)
ok i will continue my test thank you very much
If you read the instructions you can go back and correct how you posted your code.
First of all, it's PCA9685, not PA9685.
The PCA9685 works with I2C. Your code doesn't contain anything related to the PCA9685. Instead it looks like you're driving the servos just straight through the datapins, with the ordinary Servo lib. But you still have the PCA9685 connected.
Find some example code for the PCA9685 and learn from it.