Problems with code compilation in Arduino IDE


#1

Hi,

I tried to replicate the movement saved in PoMoCo to Arduino IDE (1.6.11 version), but it shows me an error.
Can anyone help me?, I will appreciate a lot.

Thank you in advance.

Code error :

…/Arduino/libraries/Servotor32/src/Servotor32.cpp:74:19: error: ‘TOIE2’ was not declared in this scope
TIMSK2 &= ~(_BV(TOIE2)); // disable the arduino tone function, but also
^
exit status 1
Error al compilar per a la placa Arduino Leonardo.
(Las line is in Catalonian language) translation : Error in compilation because of Arduino Leonardo Board

My code is :

#include “Servotor32.h” // call the servotor32 Library
#include <Servotor32_SPI.h>
#include <Servotor32_TimerOne.h>
Servotor32 hexy; // create a servotor32 object

void setup() {
hexy.begin();
}

void loop() {
hexy.delay_ms(5000); // wait 5000mS, or 5s

move_hexy();

}
#include <avr/pgmspace.h>
#define MOVE_HEXY_SIZE 2294

const PROGMEM uint16_t move_hexy_time[MOVE_HEXY_SIZE] = {
0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 6, 6, 852, 852, 853, 853, 853, 854, 854, 854, 855, 856, 856, 856, 857, 858, 858, 859, 859, 860, 1705, 1705, 1706, 1706, 1706, 1706, 1707, 1707, 1708, 1708, 1708, 1709, 2530, 2531, 2531, 2531, 2532, 2532, 2532, 2533, 2533, 2533, 2533, 2534, 2534, 2535, 2535, 2535, 2536, 2536, 2536, 2537, 2537, 2537, 2537, 2538, 2745, 2745, 2746, 2746, 2747, 2747, 2747, 2747, 2748, 2748, 2748, 2748, 2748, 2749, 2749, 2749, 2751, 2752, 2752, 2753, 2753, 2753, 2753, 2753, 2960, 2961, 2962, 2962, 2962, 2963, 2963, 2963, 2964, 2964, 2964, 2964, 2965, 2965, 2965, 2965, 2966, 2966, 2966, 2966, 2966, 2967, 2967, 2967, 3181, 3182, 3182, 3183, 3183, 3183, 3183, 3185, 3185, 3185, 3186, 3186, 3186, 3187, 3187, 3187, 3188, 3189, 3189, 3189, 3189, 3190, 3190, 3190, 3394, 3394, 3394, 3396, 3396, 3396, 3396, 3397, 3397, 3397, 3398, 3398, 3398, 3398, 3399, 3399, 3399, 3400, 3400, 3400, 3400, 3401, 3401, 3401, 3610, 3610, 3610, 3610, 3610, 3611, 3611, 3611, 3611, 3611, 3612, 3613, 3613, 3613, 3614, 3614, 3614, 3614, 3615, 3615, 3616, 3616, 3616, 3616, 3823, 3823, 3825, 3826, 3826, 3826, 3826, 3827, 3827, 3827, 3828, 3828, 3828, 3829, 3829, 3829, 3829, 3829, 3830, 3830, 3830, 3830, 3831, 3831, 4042, 4042, 4043, 4043, 4044, 4044, 4044, 4045, 4045, 4045, 4046, 4046, 4046, 4047, 4047, 4047, 4047, 4048, 4048, 4048, 4048, 4049, 4049, 4049, 4255, 4256, 4256, 4256, 4257, 4257, 4258, 4258, 4258, 4258, 4258, 4259, 4259, 4259, 4259, 4260, 4260, 4260, 4261, 4261, 4262, 4262, 4263, 4263, 4474, 4474, 4475, 4475, 4476, 4476, 4477, 4477, 4477, 4477, 4478, 4478, 4478, 4479, 4480, 4480, 4480, 4480, 4481, 4481, 4481, 4481, 4481, 4482, 4687, 4687, 4688, 4688, 4688, 4689, 4689, 4689, 4690, 4690, 4691, 4691, 4696, 4696, 4696, 4696, 4697, 4697, 4697, 4698, 4698, 4698, 4698, 4698, 4907, 4907, 4907, 4907, 4907, 4908, 4908, 4909, 4909, 4909, 4909, 4910, 4910, 4910, 4910, 4911, 4911, 4911, 4912, 4912, 4912, 4912, 4913, 4913, 5126, 5127, 5128, 5128, 5128, 5129, 5129, 5130, 5130, 5131, 5131, 5131, 5131, 5132, 5132, 5132, 5132, 5132, 5132, 5133, 5134, 5134, 5134, 5134, 5342, 5343, 5346, 5347, 5347, 5347, 5348, 5348, 5349, 5349, 5350, 5350, 5350, 5350, 5350, 5351, 5351, 5351, 5351, 5351, 5352, 5352, 5352, 5353, 5561, 5562, 5562, 5562, 5563, 5563, 5563, 5563, 5563, 5564, 5566, 5566, 5566, 5567, 5567, 5567, 5568, 5568, 5568, 5568, 5568, 5569, 5569, 5569, 5778, 5779, 5780, 5780, 5780, 5781, 5781, 5781, 5781, 5782, 5782, 5782, 6453, 6454, 6454, 6454, 6454, 6454, 6455, 6455, 6456, 6456, 6456, 6457, 6457, 6457, 6457, 6457, 6457, 6458, 6655, 6655, 6656, 6657, 6657, 6657, 6658, 6659, 6659, 6660, 6660, 6660, 6661, 6661, 6661, 6661, 6661, 6661, 6863, 6863, 6864, 6864, 6864, 6865, 6868, 6868, 6869, 6869, 6869, 6870, 6870, 6870, 6870, 6870, 6871, 6871, 7405, 7405, 7406, 7406, 7407, 7408, 7408, 7408, 7408, 7408, 7408, 7408, 8068, 8069, 8069, 8069, 8070, 8070, 8070, 8072, 8072, 8073, 8073, 8073, 8074, 8074, 8074, 8075, 8075, 8075, 8272, 8273, 8273, 8273, 8274, 8274, 8274, 8275, 8275, 8276, 8276, 8276, 8277, 8277, 8277, 8277, 8277, 8277, 8484, 8484, 8485, 8485, 8485, 8485, 8486, 8486, 8487, 8487, 8487, 8488, 8488, 8488, 8488, 8489, 8489, 8489, 9007, 9008, 9009, 9010, 9011, 9011, 9011, 9012, 9012, 9012, 9012, 9012, 9013, 9013, 9014, 9014, 9014, 9014, 9015, 9015, 9015, 9015, 9016, 9016, 9016, 9016, 9017, 9017, 9017, 9017, 9018, 9018, 9018, 9018, 9019, 9019, 14991, 14991, 14992, 14993, 14998, 15011, 15012, 15014, 15014, 15015, 15015, 15015, 15015, 15015, 15015, 15016, 15016, 15016, 15016, 15017, 15017, 15017, 15017, 15017, 15017, 15018, 15018, 15019, 15019, 15019, 15358, 15358, 15359, 15359, 15359, 15360, 15362, 15363, 15363, 15364, 15364, 15365, 15365, 15365, 15366, 15366, 15366, 15366, 15678, 15679, 15679, 15679, 15680, 15680, 15682, 15682, 15682, 15683, 15683, 15684, 15684, 15684, 15685, 15685, 15685, 15685, 16151, 16152, 16153, 16153, 16154, 16154, 16155, 16155, 16156, 16156, 16157, 16157, 16157, 16157, 16158, 16158, 16159, 16159, 16159, 16159, 16159, 16160, 16160, 16160, 16160, 16160, 16161, 16161, 16161, 16161, 16497, 16498, 16498, 16498, 16499, 16499, 16500, 16501, 16501, 16501, 16501, 16502, 16502, 16502, 16502, 16502, 16502, 16502, 16818, 16818, 16819, 16819, 16820, 16820, 16820, 16820, 16821, 16821, 16821, 16821, 16821, 16822, 16822, 16822, 16822, 16822, 17286, 17287, 17288, 17288, 17290, 17291, 17291, 17292, 17292, 17293, 17293, 17294, 17294, 17294, 17294, 17294, 17294, 17294, 17295, 17295, 17295, 17295, 17295, 17295, 17296, 17296, 17296, 17296, 17296, 17296, 17634, 17634, 17634, 17635, 17635, 17635, 17636, 17636, 17637, 17637, 17637, 17637, 17637, 17638, 17638, 17638, 17638, 17639, 17957, 17957, 17958, 17959, 17959, 17960, 17960, 17960, 17961, 17961, 17961, 17961, 17961, 17961, 17961, 17961, 17962, 17962, 18425, 18426, 18426, 18427, 18427, 18428, 18429, 18429, 18430, 18431, 18431, 18431, 18432, 18433, 18433, 18433, 18433, 18433, 18434, 18434, 18434, 18434, 18434, 18434, 18434, 18434, 18435, 18435, 18435, 18435, 18769, 18770, 18770, 18771, 18771, 18772, 18772, 18772, 18772, 18772, 18773, 18773, 18773, 18774, 18774, 18774, 18775, 18775, 19089, 19090, 19090, 19090, 19090, 19091, 19096, 19097, 19097, 19097, 19097, 19098, 19098, 19098, 19098, 19098, 19099, 19099, 26090, 26090, 26091, 26091, 26092, 26092, 26093, 26093, 26093, 26094, 26094, 26094, 26094, 26095, 26095, 26096, 26099, 26099, 26242, 26243, 26243, 26243, 26243, 26244, 26244, 26244, 26245, 26245, 26245, 26246, 26248, 26249, 26249, 26249, 26250, 26250, 26389, 26389, 26389, 26390, 26390, 26390, 26390, 26392, 26392, 26392, 26392, 26392, 26395, 26395, 26395, 26396, 26396, 26398, 26717, 26718, 26718, 26718, 26719, 26719, 26719, 26720, 26720, 26720, 26720, 26720, 27230, 27231, 27231, 27231, 27231, 27232, 27883, 27883, 27884, 27884, 27884, 27885, 27885, 27885, 27885, 27886, 27886, 27887, 28393, 28394, 28394, 28394, 28395, 28396, 28396, 28397, 28397, 28397, 28398, 28398, 28398, 28398, 28398, 28398, 28398, 28399, 28592, 28592, 28593, 28593, 28594, 28594, 28595, 28595, 28595, 28596, 28596, 28596, 28596, 28596, 28597, 28597, 28597, 28598, 28793, 28793, 28794, 28795, 28795, 28795, 28795, 28795, 28796, 28796, 28797, 28797, 28797, 28798, 28798, 28798, 28798, 28798, 29321, 29321, 29322, 29323, 29323, 29325, 29325, 29326, 29327, 29328, 29328, 29328, 29328, 29328, 29329, 29329, 29329, 29329, 29329, 29330, 29330, 29330, 29330, 29330, 29331, 29331, 29331, 29332, 29332, 29332, 29333, 29333, 29333, 29333, 29334, 29334, 40035, 40036, 40037, 40038, 40044, 40048, 40055, 40055, 40055, 40056, 40056, 40056, 40056, 40056, 40056, 40057, 40057, 40057, 40057, 40058, 40058, 40058, 40058, 40059, 40059, 40059, 40060, 40060, 40060, 40060, 40397, 40398, 40398, 40399, 40399, 40400, 40400, 40400, 40401, 40401, 40402, 40402, 40402, 40402, 40402, 40402, 40402, 40402, 40723, 40724, 40724, 40725, 40725, 40726, 40727, 40727, 40727, 40727, 40728, 40728, 40728, 40728, 40728, 40729, 40729, 40729, 41191, 41191, 41192, 41192, 41193, 41194, 41195, 41195, 41195, 41195, 41196, 41196, 41197, 41197, 41197, 41197, 41197, 41197, 41197, 41197, 41197, 41197, 41198, 41198, 41198, 41199, 41199, 41199, 41199, 41199, 41530, 41531, 41532, 41533, 41533, 41533, 41534, 41534, 41534, 41534, 41534, 41535, 41535, 41535, 41535, 41535, 41536, 41536, 41862, 41862, 41862, 41863, 41864, 41864, 41865, 41865, 41865, 41865, 41866, 41866, 41866, 41866, 41866, 41867, 41867, 41867, 42326, 42326, 42327, 42327, 42328, 42329, 42329, 42330, 42331, 42332, 42332, 42332, 42334, 42334, 42334, 42334, 42334, 42334, 42335, 42335, 42335, 42336, 42336, 42336, 42336, 42336, 42336, 42336, 42337, 42337, 42670, 42670, 42671, 42671, 42672, 42673, 42673, 42673, 42673, 42674, 42674, 42675, 42675, 42675, 42675, 42675, 42675, 42676, 42993, 42994, 42994, 42994, 42995, 42995, 42995, 42996, 42997, 42997, 42997, 42998, 42998, 42998, 42998, 42998, 42998, 42999, 43463, 43464, 43464, 43465, 43466, 43466, 43466, 43466, 43467, 43468, 43468, 43469, 43469, 43469, 43470, 43470, 43471, 43471, 43471, 43471, 43471, 43471, 43471, 43472, 43472, 43472, 43472, 43472, 43472, 43472, 43796, 43797, 43797, 43798, 43798, 43799, 43799, 43799, 43800, 43800, 43800, 43800, 43801, 43801, 43802, 43802, 43803, 43803, 44124, 44124, 44125, 44126, 44126, 44127, 44127, 44127, 44127, 44128, 44128, 44128, 44129, 44129, 44129, 44129, 44130, 44130, 52337, 52338, 52338, 52339, 52340, 52342, 52343, 52344, 52344, 52344, 52349, 52350, 53181, 53182, 53182, 53183, 53183, 53184, 53184, 53185, 53185, 53185, 53185, 53185, 53529, 53529, 53529, 53529, 53530, 53530, 53531, 53531, 53532, 53532, 53532, 53533, 63357, 63357, 63357, 63357, 63684, 63684, 71441, 71441, 71442, 71443, 71445, 71449, 71459, 71459, 71460, 71460, 71460, 71460, 71831, 71831, 71832, 71833, 71833, 71834, 71834, 71834, 71835, 71835, 71836, 71836, 71837, 71837, 71837, 71837, 71838, 71838, 71839, 71839, 71839, 71840, 71840, 71840, 71840, 71841, 71841, 71841, 71841, 71841, 71841, 71842, 71842, 71842, 71842, 71842, 72257, 72257, 72257, 72258, 72259, 72259, 72259, 72259, 72259, 72260, 72260, 72260, 72608, 72609, 72609, 72610, 72611, 72611, 72611, 72612, 72612, 72613, 72614, 72615, 72615, 72615, 72616, 72616, 72616, 72616, 72617, 72617, 72617, 72617, 72618, 72618, 72618, 72618, 72619, 72619, 72619, 72619, 72619, 72620, 72620, 72620, 72620, 72620, 73028, 73029, 73030, 73030, 73030, 73031, 73031, 73032, 73032, 73032, 73032, 73032, 73381, 73382, 73382, 73383, 73383, 73383, 73384, 73385, 73385, 73385, 73386, 73386, 73386, 73386, 73386, 73387, 73387, 73387, 73388, 73388, 73389, 73389, 73390, 73390, 73390, 73390, 73390, 73391, 73391, 73391, 73391, 73391, 73392, 73392, 73392, 73392, 73795, 73796, 73797, 73797, 73797, 73798, 73798, 73798, 73798, 73799, 73799, 73799, 74152, 74153, 74153, 74153, 74154, 74154, 74155, 74156, 74156, 74156, 74157, 74158, 74158, 74159, 74159, 74160, 74160, 74160, 74161, 74161, 74161, 74161, 74162, 74162, 74162, 74163, 74163, 74163, 74163, 74163, 74163, 74164, 74164, 74164, 74164, 74165, 74565, 74566, 74567, 74568, 74569, 74570, 74570, 74571, 74571, 74571, 74571, 74571, 74572, 74572, 74572, 74572, 74572, 74572, 74573, 74573, 74573, 74573, 74573, 74574, 74957, 74958, 74959, 74959, 74960, 74960, 74961, 74962, 74962, 74962, 74963, 74963, 74964, 74964, 74964, 74965, 74965, 74965, 74965, 74966, 74967, 74967, 74967, 74967, 74967, 74967, 74967, 74967, 74967, 74968, 74968, 74968, 74968, 74968, 74969, 74969, 75374, 75375, 75375, 75376, 75376, 75377, 75377, 75378, 75379, 75379, 75380, 75381, 75381, 75382, 75382, 75382, 75383, 75383, 75383, 75383, 75384, 75384, 75384, 75384, 75763, 75764, 75765, 75766, 75766, 75767, 75767, 75767, 75768, 75769, 75769, 75770, 75770, 75770, 75771, 75771, 75771, 75771, 75771, 75771, 75771, 75772, 75773, 75773, 75774, 75774, 75774, 75775, 75775, 75775, 75775, 75775, 75775, 75776, 75776, 75776, 76193, 76193, 76194, 76195, 76196, 76197, 76198, 76198, 76199, 76200, 76200, 76201, 76201, 76201, 76201, 76201, 76201, 76201, 76201, 76202, 76202, 76203, 76203, 76203, 76584, 76585, 76585, 76586, 76587, 76588, 76588, 76588, 76589, 76589, 76589, 76590, 76590, 76591, 76592, 76592, 76592, 76592, 76592, 76593, 76593, 76593, 76593, 76593, 76594, 76594, 76594, 76594, 76595, 76595, 76595, 76595, 76596, 76596, 76596, 76596, 77004, 77004, 77005, 77005, 77007, 77007, 77007, 77008, 77008, 77008, 77009, 77009, 77009, 77010, 77010, 77010, 77011, 77011, 77011, 77011, 77011, 77011, 77011, 77012, 77392, 77393, 77394, 77394, 77395, 77396, 77397, 77397, 77397, 77397, 77398, 77399, 77399, 77400, 77400, 77400, 77400, 77401, 77401, 77401, 77401, 77401, 77402, 77402, 77402, 77402, 77402, 77403, 77403, 77403, 77403, 77403, 77404, 77404, 77404, 77404, 82006, 82007, 82007, 82008, 82008, 82009, 82208, 82208, 82209, 82209, 82210, 82210, 82385, 82385, 82386, 82386, 82386, 82386, 82725, 82725, 82725, 82726, 82726, 82727, 82900, 82900, 82900, 82901, 82901, 82901, 83077, 83077, 83077, 83078, 83078, 83078, 83405, 83405, 83405, 83406, 83406, 83406, 83580, 83581, 83581, 83581, 83582, 83582, 83765, 83765, 83766, 83766, 83767, 83767, 84085, 84086, 84086, 84086, 84087, 84087, 84260, 84260, 84260, 84261, 84261, 84261, 84444, 84445, 84445, 84445, 84446, 84447, 84767, 84767, 84767, 84768, 84768, 84769, 84769, 84769, 84769, 84770, 84770, 84770, 84771, 84771, 84771, 84771, 84772, 84772, 84772, 84772, 85618, 85618, 85619, 85620, 85621, 85622, 85622, 85622, 85623, 85623, 85623, 85623, 85624, 85625, 85625, 85625, 85625, 85626, 85626, 85626, 85626, 85626, 85626, 85627, 85627, 85627, 85627, 85627, 86022, 86022, 86023, 86024, 86024, 86026, 86027, 86027, 86028, 86028, 86028, 86028, 86029, 86029, 86029, 86029, 86029, 86030, 86030, 86030, 86030, 86030, 86031, 86031, 86031, 86031, 86031, 86031, 86891, 86892, 86892, 86893, 86893, 86894, 86895, 86895, 86895, 86896, 86896, 86896, 86896, 86896, 86897, 86897, 86897, 86897, 86898, 86898, 86898, 86898, 86898, 86898, 86899, 86899, 86899, 86899, 87292, 87293, 87294, 87295, 87295, 87295, 87296, 87296, 87296, 87297, 87297, 87297, 87297, 87297, 87297, 87298, 87298, 87299, 87299, 87299, 87299, 87299, 87300, 87300, 87301, 87301, 87301, 87301, 88161, 88161, 88162, 88162, 88163, 88163, 88164, 88165, 88165, 88165, 88165, 88166, 88166, 88167, 88168, 88168, 88168, 88169, 88169, 88169, 88170, 88170, 88170, 88170, 88171, 88171, 88171, 88171, 88565, 88566, 88566, 88567, 88568, 88569, 88569, 88569, 88569, 88570, 88570, 88571, 88571, 88572, 88572, 88572, 88572, 88572, 88572, 88573, 88573, 88573, 88573, 88573, 88573, 88574, 88574, 88574, 89442, 89442, 89443, 89444, 89444, 89444, 89445, 89446, 89446, 89446, 89446, 89447, 89447, 89447, 89447, 89447, 89448, 89448, 89448, 89449, 89449, 89449, 89449, 89449, 89449, 89450, 89450, 89450, 89847, 89847, 89848, 89848, 89849, 89850, 89850, 89850, 89851, 89851, 89851, 89851, 89852, 89852, 89852, 89852, 89852, 89852, 89853, 89853, 89853, 89853, 89853, 89853, 89854, 89855, 89855, 89855, 90717, 90718, 90718, 90719, 90719, 90719, 90719, 90720, 90721, 90721, 90721, 90721, 90722, 90722, 90723, 90723, 90723, 90723, 90723, 90724, 90724, 90724, 90725, 90725, 90725, 90725, 90725, 90726, 91587, 91588, 91589, 91589, 91590, 91591, 91591, 91591, 91591, 91592, 91592, 91592, 91778, 91779, 91779, 91779, 91780, 91780, 91780, 91780, 91781, 91781, 91781, 91781, 91970, 91970, 91970, 91970, 91971, 91971, 91971, 91972, 91972, 91972, 91972, 91972, 101605, 101605, 101606, 101608, 101608, 101608, 101608, 101609, 101609, 101609, 101609, 101609, 102132, 102132, 102134, 102135, 102135, 102136, 102136, 102137, 102137, 102138, 102138, 102138, 102139, 102139, 102140, 102140, 102141, 102141, 102320, 102320, 102320, 102321, 102321, 102321, 102322, 102322, 102323, 102323, 102324, 102324, 102324, 102324, 102324, 102325, 102325, 102325, 102523, 102524, 102524, 102525, 102525, 102526, 102526, 102526, 102527, 102527, 102528, 102528, 102528, 102528, 102529, 102529, 102529, 102529, 103044, 103045, 103045, 103046, 103046, 103047, 103047, 103047, 103048, 103048, 103048, 103048, 103712, 103712, 103713, 103713, 103714, 103715, 103715, 103715, 103715, 103716, 103716, 103716, 103716, 103717, 103717, 103717, 103717, 103717, 103912, 103912, 103913, 103913, 103914, 103915, 103915, 103916, 103916, 103916, 103917, 103917, 103917, 103917, 103917, 103918, 103918, 103918, 104112, 104114, 104114, 104115, 104115, 104115, 104116, 104116, 104116, 104116, 104117, 104117, 104117, 104117, 104117, 104118, 104118, 104118, 104631, 104632, 104634, 104634, 104634, 104635, 104636, 104636, 104636, 104637, 104637, 104637, 104638, 104639, 104639, 104639, 104640, 104640, 104640, 104641, 104641, 104641, 104642, 104642, 104642, 104643, 104643, 104643, 104643, 104644, 104644, 104644, 104644, 104644, 104645, 104645};

const PROGMEM uint8_t move_hexy_servo[MOVE_HEXY_SIZE] = {
7, 7, 20, 20, 15, 15, 24, 24, 11, 11, 16, 16, 25, 25, 24, 21, 21, 20, 17, 17, 16, 6, 6, 7, 10, 10, 11, 14, 14, 15, 26, 26, 22, 22, 18, 18, 5, 5, 9, 9, 13, 13, 25, 25, 26, 26, 21, 21, 22, 22, 17, 17, 18, 18, 6, 6, 5, 5, 10, 10, 9, 9, 14, 14, 13, 13, 25, 25, 26, 26, 21, 21, 22, 22, 17, 17, 18, 18, 6, 6, 5, 5, 10, 10, 9, 9, 14, 14, 13, 13, 25, 25, 26, 26, 21, 21, 22, 22, 17, 17, 18, 18, 6, 6, 5, 5, 10, 10, 9, 9, 14, 14, 13, 13, 25, 25, 26, 26, 21, 21, 22, 22, 17, 17, 18, 18, 6, 6, 5, 5, 10, 10, 9, 9, 14, 14, 13, 13, 25, 25, 26, 26, 21, 21, 22, 22, 17, 17, 18, 18, 6, 6, 5, 5, 10, 10, 9, 9, 14, 14, 13, 13, 25, 25, 26, 26, 21, 21, 22, 22, 17, 17, 18, 18, 6, 6, 5, 5, 10, 10, 9, 9, 14, 14, 13, 13, 25, 25, 26, 26, 21, 21, 22, 22, 17, 17, 18, 18, 6, 6, 5, 5, 10, 10, 9, 9, 14, 14, 13, 13, 25, 25, 26, 26, 21, 21, 22, 22, 17, 17, 18, 18, 6, 6, 5, 5, 10, 10, 9, 9, 14, 14, 13, 13, 25, 25, 26, 26, 21, 21, 22, 22, 17, 17, 18, 18, 6, 6, 5, 5, 10, 10, 9, 9, 14, 14, 13, 13, 25, 25, 26, 26, 21, 21, 22, 22, 17, 17, 18, 18, 6, 6, 5, 5, 10, 10, 9, 9, 14, 14, 13, 13, 25, 25, 26, 26, 21, 21, 22, 22, 17, 17, 18, 18, 6, 6, 5, 5, 10, 10, 9, 9, 14, 14, 13, 13, 25, 25, 26, 26, 21, 21, 22, 22, 17, 17, 18, 18, 6, 6, 5, 5, 10, 10, 9, 9, 14, 14, 13, 13, 25, 25, 26, 26, 21, 21, 22, 22, 17, 17, 18, 18, 6, 6, 5, 5, 10, 10, 9, 9, 14, 14, 13, 13, 25, 25, 26, 26, 21, 21, 22, 22, 17, 17, 18, 18, 6, 6, 5, 5, 10, 10, 9, 9, 14, 14, 13, 13, 25, 25, 26, 26, 21, 21, 22, 22, 17, 17, 18, 18, 6, 6, 5, 5, 10, 10, 9, 9, 14, 14, 13, 13, 6, 6, 14, 21, 5, 14, 21, 5, 13, 22, 13, 22, 6, 6, 21, 5, 21, 5, 14, 22, 7, 14, 22, 7, 13, 20, 13, 15, 15, 20, 6, 6, 5, 5, 7, 7, 21, 14, 21, 14, 22, 13, 13, 22, 15, 20, 15, 20, 6, 6, 5, 5, 7, 7, 21, 14, 21, 14, 22, 13, 22, 13, 20, 15, 20, 15, 25, 10, 25, 10, 17, 26, 9, 17, 26, 9, 18, 18, 25, 10, 25, 10, 26, 17, 9, 26, 17, 9, 24, 18, 11, 24, 18, 11, 16, 16, 25, 25, 10, 17, 26, 10, 17, 26, 9, 24, 9, 18, 24, 11, 18, 11, 16, 16, 25, 25, 26, 10, 26, 10, 24, 17, 9, 24, 17, 9, 18, 11, 18, 11, 16, 16, 6, 6, 5, 5, 14, 10, 25, 14, 10, 25, 21, 13, 17, 7, 9, 26, 21, 13, 17, 7, 9, 26, 22, 18, 20, 22, 18, 20, 15, 15, 24, 24, 11, 11, 16, 16, 6, 6, 21, 14, 24, 5, 21, 11, 14, 24, 5, 7, 7, 13, 11, 24, 16, 22, 22, 13, 24, 16, 20, 11, 15, 16, 20, 11, 15, 16, 6, 6, 5, 5, 7, 7, 21, 21, 22, 14, 22, 14, 20, 13, 20, 13, 15, 15, 6, 6, 5, 5, 7, 7, 21, 21, 14, 22, 14, 22, 13, 13, 20, 15, 20, 15, 25, 25, 10, 17, 26, 10, 17, 26, 7, 9, 18, 24, 20, 7, 15, 9, 18, 24, 20, 7, 15, 11, 16, 20, 7, 15, 11, 16, 20, 15, 17, 10, 25, 17, 10, 25, 18, 9, 26, 18, 9, 26, 16, 11, 24, 16, 11, 24, 25, 10, 25, 17, 10, 26, 17, 9, 26, 18, 9, 24, 18, 24, 16, 11, 16, 11, 6, 21, 6, 14, 21, 5, 14, 24, 22, 5, 13, 11, 24, 22, 16, 7, 13, 11, 24, 20, 16, 7, 15, 11, 24, 16, 20, 15, 11, 16, 21, 6, 14, 21, 6, 14, 22, 5, 13, 22, 5, 13, 20, 7, 20, 15, 7, 15, 21, 14, 21, 6, 14, 22, 13, 22, 6, 13, 20, 5, 15, 20, 5, 15, 7, 7, 25, 25, 10, 26, 17, 10, 26, 7, 17, 20, 9, 24, 7, 15, 18, 20, 9, 24, 7, 18, 20, 15, 11, 16, 20, 15, 11, 16, 7, 15, 25, 25, 26, 26, 10, 24, 17, 10, 24, 9, 17, 18, 9, 18, 11, 16, 11, 16, 25, 25, 26, 26, 24, 24, 17, 10, 17, 10, 18, 9, 18, 9, 16, 11, 11, 16, 6, 14, 21, 6, 14, 21, 5, 13, 5, 22, 13, 7, 22, 15, 7, 20, 15, 20, 6, 6, 5, 21, 5, 21, 7, 22, 7, 22, 20, 20, 14, 14, 13, 13, 15, 15, 6, 6, 21, 5, 21, 5, 22, 7, 22, 7, 20, 20, 14, 14, 13, 13, 15, 15, 25, 17, 25, 10, 17, 26, 10, 18, 26, 9, 18, 9, 7, 15, 7, 15, 20, 20, 25, 25, 26, 17, 26, 17, 10, 18, 10, 18, 9, 9, 6, 6, 21, 5, 21, 14, 5, 22, 14, 7, 22, 13, 7, 20, 13, 20, 15, 15, 6, 6, 5, 21, 5, 14, 21, 7, 14, 7, 22, 13, 22, 20, 20, 13, 15, 15, 6, 6, 5, 5, 21, 7, 21, 7, 22, 22, 14, 20, 14, 20, 13, 13, 15, 15, 6, 6, 10, 5, 10, 14, 5, 25, 21, 9, 14, 25, 17, 7, 21, 9, 13, 26, 7, 22, 17, 13, 26, 20, 22, 18, 20, 18, 15, 15, 24, 24, 11, 11, 16, 16, 21, 14, 6, 21, 14, 6, 24, 22, 11, 13, 5, 16, 24, 22, 11, 13, 5, 16, 24, 20, 11, 15, 7, 16, 16, 20, 11, 15, 7, 24, 14, 14, 13, 13, 6, 21, 15, 6, 21, 15, 5, 22, 5, 22, 7, 20, 7, 20, 14, 14, 13, 13, 15, 21, 15, 6, 21, 6, 22, 5, 22, 5, 20, 7, 20, 7, 25, 10, 25, 10, 26, 9, 17, 26, 9, 17, 24, 7, 18, 7, 11, 24, 18, 20, 7, 11, 16, 20, 15, 7, 16, 20, 15, 20, 15, 15, 10, 17, 25, 10, 17, 25, 9, 18, 26, 18, 9, 26, 16, 11, 24, 16, 11, 24, 17, 17, 18, 10, 18, 25, 10, 16, 25, 16, 9, 26, 9, 26, 11, 24, 11, 24, 6, 6, 5, 21, 5, 21, 14, 7, 24, 22, 11, 14, 7, 24, 16, 22, 11, 13, 24, 16, 20, 11, 13, 24, 16, 20, 11, 15, 16, 15, 6, 6, 5, 21, 5, 21, 7, 14, 22, 7, 14, 22, 13, 20, 13, 20, 15, 15, 6, 21, 6, 21, 5, 5, 7, 14, 22, 7, 14, 22, 13, 20, 13, 20, 15, 15, 25, 25, 10, 26, 10, 26, 9, 17, 24, 9, 7, 17, 24, 11, 7, 20, 18, 11, 15, 7, 20, 18, 15, 7, 16, 20, 15, 16, 20, 15, 25, 25, 26, 26, 24, 10, 24, 10, 9, 9, 11, 11, 17, 17, 18, 18, 16, 16, 10, 10, 25, 9, 25, 9, 26, 11, 26, 11, 17, 24, 17, 24, 18, 18, 16, 16, 16, 15, 16, 17, 15, 17, 18, 18, 14, 14, 13, 13, 21, 20, 21, 20, 10, 22, 10, 22, 11, 9, 11, 9, 7, 7, 6, 6, 5, 5, 24, 24, 25, 25, 26, 26, 25, 25, 26, 26, 24, 24, 6, 6, 5, 10, 5, 14, 10, 14, 13, 13, 9, 9, 6, 6, 10, 5, 10, 14, 5, 25, 9, 21, 17, 14, 7, 25, 9, 21, 17, 13, 7, 26, 22, 18, 13, 20, 26, 22, 18, 20, 15, 15, 24, 24, 11, 11, 16, 16, 25, 25, 21, 17, 26, 21, 26, 17, 22, 18, 22, 18, 6, 6, 10, 5, 25, 21, 14, 10, 17, 5, 7, 25, 21, 14, 9, 17, 7, 26, 22, 13, 9, 18, 20, 26, 22, 13, 18, 20, 15, 15, 24, 24, 11, 11, 16, 16, 6, 10, 6, 10, 5, 9, 5, 14, 9, 14, 13, 13, 6, 6, 5, 10, 5, 10, 14, 9, 25, 14, 9, 21, 25, 13, 21, 7, 26, 17, 13, 22, 7, 26, 17, 22, 20, 18, 20, 18, 15, 15, 24, 24, 11, 11, 16, 16, 25, 25, 21, 26, 17, 21, 26, 17, 22, 18, 22, 18, 6, 6, 14, 10, 5, 14, 25, 10, 21, 5, 13, 25, 9, 21, 7, 26, 17, 13, 9, 22, 7, 17, 26, 22, 20, 18, 18, 20, 15, 15, 24, 24, 11, 11, 16, 16, 6, 6, 10, 14, 5, 25, 21, 10, 14, 5, 25, 9, 21, 17, 13, 26, 9, 22, 17, 13, 26, 22, 18, 18, 6, 6, 10, 5, 10, 5, 14, 9, 25, 21, 14, 9, 25, 17, 7, 21, 13, 26, 17, 7, 22, 26, 13, 18, 20, 22, 18, 20, 15, 15, 24, 24, 11, 11, 16, 16, 6, 6, 10, 5, 14, 10, 5, 14, 9, 25, 13, 21, 9, 25, 13, 21, 17, 26, 22, 17, 26, 22, 18, 18, 6, 6, 5, 5, 10, 14, 10, 14, 9, 25, 9, 13, 21, 25, 13, 7, 21, 17, 26, 7, 22, 17, 26, 20, 22, 18, 20, 18, 15, 15, 24, 24, 11, 11, 16, 16, 6, 6, 5, 10, 5, 14, 10, 25, 14, 21, 9, 17, 25, 13, 21, 9, 17, 26, 13, 22, 18, 26, 22, 18, 6, 10, 6, 10, 14, 5, 9, 14, 5, 9, 25, 13, 25, 13, 26, 21, 26, 21, 7, 22, 17, 7, 22, 17, 20, 18, 20, 18, 15, 15, 24, 24, 11, 11, 16, 16, 6, 6, 5, 10, 14, 5, 10, 25, 14, 9, 25, 21, 13, 9, 26, 17, 21, 13, 26, 17, 22, 18, 22, 18, 6, 10, 6, 10, 14, 5, 25, 14, 9, 5, 25, 21, 13, 9, 17, 7, 26, 21, 17, 13, 7, 26, 22, 18, 20, 22, 18, 20, 15, 15, 24, 24, 11, 11, 16, 16, 6, 6, 5, 5, 7, 7, 6, 6, 5, 5, 7, 7, 6, 6, 5, 5, 7, 7, 25, 25, 26, 26, 24, 24, 25, 25, 26, 26, 24, 24, 25, 25, 26, 26, 24, 24, 10, 10, 9, 9, 11, 11, 10, 10, 9, 9, 11, 11, 10, 10, 9, 9, 11, 11, 21, 21, 22, 22, 20, 20, 21, 21, 22, 22, 20, 20, 21, 21, 22, 22, 20, 20, 17, 14, 17, 25, 14, 18, 25, 18, 13, 6, 13, 6, 26, 26, 5, 5, 24, 24, 7, 7, 10, 10, 14, 9, 14, 21, 9, 13, 17, 21, 25, 13, 17, 22, 25, 18, 22, 6, 18, 6, 26, 26, 5, 5, 24, 24, 7, 7, 10, 14, 10, 14, 21, 25, 17, 9, 13, 21, 25, 17, 9, 13, 22, 6, 18, 22, 6, 18, 26, 26, 5, 5, 24, 24, 7, 7, 10, 10, 14, 9, 14, 21, 25, 9, 17, 13, 21, 25, 17, 13, 22, 6, 18, 22, 6, 18, 26, 26, 5, 5, 24, 24, 7, 7, 10, 10, 14, 9, 21, 14, 25, 21, 9, 17, 13, 25, 22, 17, 13, 6, 22, 18, 6, 18, 26, 26, 5, 5, 24, 24, 7, 7, 10, 10, 9, 14, 9, 14, 21, 17, 13, 25, 21, 17, 13, 25, 22, 18, 6, 22, 18, 6, 26, 26, 5, 5, 24, 24, 7, 7, 10, 14, 21, 10, 14, 21, 25, 17, 9, 13, 22, 25, 17, 9, 13, 22, 6, 18, 6, 18, 26, 26, 5, 5, 24, 24, 7, 7, 10, 14, 10, 21, 14, 17, 9, 25, 21, 13, 17, 9, 25, 22, 13, 18, 6, 22, 18, 6, 26, 26, 5, 5, 24, 24, 7, 7, 10, 14, 10, 14, 9, 13, 21, 9, 17, 13, 21, 25, 17, 22, 25, 18, 22, 6, 18, 6, 26, 26, 5, 5, 24, 24, 7, 7, 10, 10, 14, 9, 14, 21, 9, 25, 17, 13, 21, 25, 17, 13, 22, 6, 18, 22, 6, 18, 26, 26, 5, 5, 24, 24, 7, 7, 6, 6, 25, 5, 25, 5, 26, 7, 26, 7, 24, 24, 6, 25, 6, 25, 5, 26, 5, 26, 7, 24, 7, 24, 6, 6, 25, 25, 5, 26, 5, 26, 7, 24, 7, 24, 6, 6, 21, 5, 14, 21, 5, 14, 22, 13, 22, 13, 6, 6, 5, 21, 5, 21, 14, 7, 22, 14, 7, 22, 13, 20, 13, 20, 15, 15, 6, 6, 5, 5, 7, 21, 7, 21, 14, 22, 14, 22, 13, 13, 20, 20, 15, 15, 6, 6, 5, 5, 7, 7, 21, 14, 21, 14, 22, 13, 22, 13, 20, 15, 20, 15, 25, 25, 10, 26, 10, 17, 26, 9, 17, 9, 18, 18, 25, 25, 10, 26, 17, 10, 26, 17, 9, 24, 18, 9, 24, 18, 11, 16, 11, 16, 25, 10, 17, 25, 10, 26, 9, 17, 26, 9, 18, 24, 11, 18, 24, 11, 16, 16, 25, 10, 25, 10, 26, 17, 9, 26, 17, 24, 9, 18, 24, 11, 18, 11, 16, 16, 6, 6, 5, 10, 14, 25, 10, 5, 21, 7, 17, 14, 25, 9, 7, 21, 17, 13, 26, 9, 20, 22, 18, 13, 26, 20, 22, 18, 15, 15, 24, 24, 11, 11, 16, 16};

const PROGMEM uint8_t move_hexy_pos[MOVE_HEXY_SIZE] = {
1816 , 183 , 1816 , 151 , 1816 , 116 , 1816 , 116 , 1816 , 151 , 1816 , 183 , 1816 , 116 , 116 , 1816 , 116 , 151 , 1816 , 116 , 183 , 1816 , 116 , 183 , 1816 , 116 , 151 , 1816 , 116 , 116 , 1816 , 50 , 1816 , 50 , 1816 , 50 , 1816 , 50 , 1816 , 50 , 1816 , 50 , 116 , 150 , 50 , 50 , 116 , 150 , 50 , 50 , 116 , 150 , 50 , 50 , 116 , 150 , 50 , 50 , 116 , 150 , 50 , 50 , 116 , 150 , 50 , 50 , 150 , 153 , 50 , 53 , 150 , 153 , 50 , 53 , 150 , 153 , 50 , 53 , 150 , 153 , 50 , 53 , 150 , 153 , 50 , 53 , 150 , 153 , 50 , 53 , 153 , 156 , 53 , 56 , 153 , 156 , 53 , 56 , 153 , 156 , 53 , 56 , 153 , 156 , 53 , 56 , 153 , 156 , 53 , 56 , 153 , 156 , 53 , 56 , 156 , 160 , 56 , 60 , 156 , 160 , 56 , 60 , 156 , 160 , 56 , 60 , 156 , 160 , 56 , 60 , 156 , 160 , 56 , 60 , 156 , 160 , 56 , 60 , 160 , 163 , 60 , 63 , 160 , 163 , 60 , 63 , 160 , 163 , 60 , 63 , 160 , 163 , 60 , 63 , 160 , 163 , 60 , 63 , 160 , 163 , 60 , 63 , 163 , 166 , 63 , 66 , 163 , 166 , 63 , 66 , 163 , 166 , 63 , 66 , 163 , 166 , 63 , 66 , 163 , 166 , 63 , 66 , 163 , 166 , 63 , 66 , 166 , 170 , 66 , 70 , 166 , 170 , 66 , 70 , 166 , 170 , 66 , 70 , 166 , 170 , 66 , 70 , 166 , 170 , 66 , 70 , 166 , 170 , 66 , 70 , 170 , 173 , 70 , 73 , 170 , 173 , 70 , 73 , 170 , 173 , 70 , 73 , 170 , 173 , 70 , 73 , 170 , 173 , 70 , 73 , 170 , 173 , 70 , 73 , 173 , 176 , 73 , 76 , 173 , 176 , 73 , 76 , 173 , 176 , 73 , 76 , 173 , 176 , 73 , 76 , 173 , 176 , 73 , 76 , 173 , 176 , 73 , 76 , 176 , 180 , 76 , 80 , 176 , 180 , 76 , 80 , 176 , 180 , 76 , 80 , 176 , 180 , 76 , 80 , 176 , 180 , 76 , 80 , 176 , 180 , 76 , 80 , 180 , 183 , 80 , 83 , 180 , 183 , 80 , 83 , 180 , 183 , 80 , 83 , 180 , 183 , 80 , 83 , 180 , 183 , 80 , 83 , 180 , 183 , 80 , 83 , 183 , 186 , 83 , 86 , 183 , 186 , 83 , 86 , 183 , 186 , 83 , 86 , 183 , 186 , 83 , 86 , 183 , 186 , 83 , 86 , 183 , 186 , 83 , 86 , 186 , 190 , 86 , 90 , 186 , 190 , 86 , 90 , 186 , 190 , 86 , 90 , 186 , 190 , 86 , 90 , 186 , 190 , 86 , 90 , 186 , 190 , 86 , 90 , 190 , 193 , 90 , 93 , 190 , 193 , 90 , 93 , 190 , 193 , 90 , 93 , 190 , 193 , 90 , 93 , 190 , 193 , 90 , 93 , 190 , 193 , 90 , 93 , 193 , 196 , 93 , 96 , 193 , 196 , 93 , 96 , 193 , 196 , 93 , 96 , 193 , 196 , 93 , 96 , 193 , 196 , 93 , 96 , 193 , 196 , 93 , 96 , 196 , 150 , 196 , 196 , 96 , 150 , 150 , 50 , 96 , 96 , 50 , 50 , 150 , 209 , 150 , 50 , 156 , 109 , 150 , 50 , 183 , 209 , 56 , 183 , 50 , 151 , 109 , 116 , 116 , 150 , 209 , 209 , 109 , 109 , 183 , 183 , 156 , 209 , 156 , 209 , 56 , 109 , 109 , 56 , 116 , 150 , 116 , 150 , 209 , 209 , 109 , 109 , 183 , 183 , 156 , 209 , 209 , 209 , 56 , 109 , 109 , 109 , 150 , 116 , 150 , 116 , 196 , 196 , 150 , 150 , 196 , 96 , 96 , 150 , 50 , 50 , 96 , 50 , 150 , 150 , 209 , 156 , 50 , 150 , 50 , 109 , 209 , 56 , 116 , 50 , 151 , 116 , 109 , 150 , 183 , 183 , 209 , 209 , 156 , 209 , 109 , 156 , 209 , 109 , 56 , 116 , 56 , 109 , 116 , 150 , 109 , 150 , 183 , 183 , 209 , 209 , 109 , 156 , 109 , 209 , 116 , 209 , 56 , 116 , 209 , 109 , 109 , 150 , 109 , 150 , 183 , 183 , 209 , 209 , 109 , 109 , 209 , 209 , 209 , 209 , 209 , 209 , 209 , 109 , 209 , 183 , 109 , 109 , 209 , 109 , 209 , 183 , 109 , 109 , 109 , 109 , 150 , 109 , 109 , 150 , 116 , 116 , 116 , 116 , 150 , 150 , 183 , 183 , 209 , 156 , 209 , 209 , 116 , 109 , 156 , 150 , 156 , 94 , 56 , 183 , 172 , 109 , 177 , 94 , 183 , 109 , 56 , 56 , 94 , 150 , 150 , 177 , 116 , 150 , 159 , 177 , 109 , 150 , 156 , 156 , 56 , 56 , 172 , 161 , 156 , 156 , 56 , 156 , 56 , 156 , 159 , 56 , 168 , 56 , 109 , 101 , 156 , 209 , 56 , 109 , 161 , 150 , 156 , 209 , 156 , 56 , 209 , 109 , 56 , 109 , 168 , 101 , 177 , 94 , 209 , 156 , 209 , 209 , 109 , 156 , 156 , 56 , 150 , 109 , 109 , 94 , 177 , 205 , 94 , 56 , 56 , 113 , 122 , 205 , 150 , 177 , 150 , 122 , 205 , 150 , 159 , 168 , 122 , 150 , 156 , 156 , 156 , 156 , 156 , 156 , 56 , 56 , 56 , 56 , 56 , 56 , 168 , 159 , 113 , 187 , 140 , 131 , 156 , 156 , 209 , 156 , 209 , 56 , 209 , 56 , 109 , 56 , 109 , 131 , 109 , 150 , 187 , 140 , 205 , 122 , 209 , 209 , 156 , 209 , 156 , 109 , 156 , 150 , 109 , 56 , 109 , 122 , 94 , 56 , 205 , 205 , 56 , 177 , 94 , 122 , 150 , 187 , 150 , 177 , 94 , 150 , 140 , 131 , 177 , 150 , 156 , 156 , 156 , 156 , 156 , 156 , 56 , 56 , 56 , 56 , 56 , 56 , 140 , 187 , 159 , 131 , 168 , 113 , 156 , 156 , 209 , 156 , 209 , 56 , 56 , 109 , 209 , 109 , 159 , 56 , 113 , 177 , 109 , 94 , 168 , 150 , 209 , 156 , 209 , 109 , 209 , 156 , 56 , 150 , 156 , 177 , 109 , 94 , 205 , 94 , 109 , 122 , 56 , 113 , 205 , 56 , 122 , 150 , 177 , 150 , 122 , 150 , 159 , 168 , 205 , 150 , 156 , 156 , 56 , 56 , 156 , 113 , 156 , 156 , 131 , 56 , 156 , 56 , 56 , 56 , 159 , 168 , 140 , 187 , 156 , 209 , 56 , 109 , 131 , 150 , 156 , 156 , 209 , 209 , 56 , 56 , 109 , 109 , 187 , 140 , 122 , 205 , 209 , 209 , 209 , 156 , 156 , 156 , 109 , 109 , 56 , 109 , 56 , 205 , 56 , 150 , 201 , 122 , 164 , 146 , 156 , 156 , 56 , 156 , 56 , 156 , 201 , 56 , 198 , 56 , 146 , 170 , 156 , 156 , 56 , 56 , 164 , 179 , 156 , 209 , 156 , 56 , 209 , 109 , 56 , 198 , 109 , 194 , 170 , 194 , 156 , 209 , 56 , 109 , 179 , 194 , 209 , 209 , 176 , 209 , 176 , 109 , 176 , 109 , 76 , 109 , 76 , 76 , 194 , 194 , 105 , 105 , 194 , 105 , 176 , 209 , 76 , 176 , 109 , 209 , 176 , 76 , 209 , 109 , 76 , 109 , 209 , 156 , 209 , 109 , 156 , 209 , 56 , 109 , 209 , 105 , 56 , 109 , 135 , 105 , 109 , 120 , 105 , 105 , 156 , 156 , 56 , 156 , 56 , 209 , 156 , 135 , 209 , 164 , 56 , 109 , 56 , 120 , 135 , 109 , 105 , 105 , 156 , 209 , 56 , 109 , 156 , 164 , 209 , 194 , 56 , 109 , 209 , 135 , 209 , 151 , 109 , 109 , 105 , 105 , 209 , 209 , 209 , 109 , 209 , 209 , 109 , 209 , 209 , 109 , 209 , 209 , 209 , 194 , 209 , 109 , 109 , 109 , 183 , 109 , 209 , 109 , 109 , 151 , 109 , 109 , 150 , 109 , 105 , 116 , 150 , 116 , 122 , 150 , 205 , 183 , 209 , 209 , 209 , 156 , 156 , 156 , 116 , 109 , 150 , 109 , 109 , 183 , 150 , 56 , 122 , 56 , 56 , 205 , 150 , 150 , 122 , 116 , 183 , 205 , 205 , 140 , 122 , 127 , 190 , 150 , 156 , 156 , 56 , 56 , 156 , 156 , 127 , 156 , 156 , 138 , 56 , 56 , 56 , 56 , 190 , 140 , 198 , 131 , 156 , 209 , 56 , 109 , 138 , 156 , 150 , 156 , 209 , 209 , 56 , 56 , 109 , 109 , 131 , 198 , 122 , 205 , 209 , 209 , 156 , 156 , 109 , 109 , 209 , 56 , 56 , 156 , 150 , 205 , 109 , 150 , 122 , 131 , 56 , 122 , 150 , 140 , 205 , 177 , 150 , 150 , 187 , 177 , 94 , 177 , 94 , 94 , 156 , 156 , 156 , 156 , 156 , 156 , 56 , 56 , 56 , 56 , 56 , 56 , 187 , 140 , 131 , 168 , 159 , 113 , 156 , 209 , 56 , 156 , 109 , 156 , 209 , 168 , 209 , 150 , 56 , 56 , 109 , 109 , 159 , 113 , 177 , 94 , 209 , 156 , 109 , 209 , 56 , 156 , 209 , 150 , 94 , 109 , 177 , 156 , 168 , 150 , 150 , 56 , 122 , 109 , 150 , 205 , 177 , 122 , 56 , 150 , 205 , 159 , 122 , 94 , 205 , 113 , 156 , 156 , 56 , 156 , 56 , 156 , 168 , 156 , 56 , 187 , 156 , 56 , 56 , 159 , 56 , 140 , 113 , 131 , 156 , 156 , 209 , 209 , 56 , 109 , 187 , 156 , 56 , 205 , 209 , 109 , 56 , 140 , 109 , 122 , 131 , 150 , 209 , 156 , 209 , 109 , 156 , 56 , 109 , 209 , 150 , 56 , 205 , 156 , 131 , 122 , 150 , 122 , 109 , 140 , 150 , 150 , 177 , 56 , 94 , 150 , 205 , 177 , 94 , 187 , 177 , 94 , 156 , 156 , 56 , 56 , 131 , 156 , 113 , 156 , 56 , 56 , 140 , 159 , 156 , 156 , 56 , 56 , 187 , 168 , 156 , 209 , 156 , 56 , 209 , 109 , 56 , 159 , 109 , 177 , 156 , 113 , 209 , 94 , 56 , 109 , 168 , 150 , 150 , 94 , 100 , 209 , 200 , 167 , 109 , 67 , 209 , 167 , 109 , 67 , 209 , 177 , 226 , 227 , 209 , 109 , 226 , 126 , 177 , 109 , 72 , 126 , 150 , 100 , 209 , 150 , 109 , 150 , 94 , 200 , 209 , 150 , 109 , 150 , 150 , 83 , 150 , 83 , 200 , 200 , 150 , 150 , 150 , 226 , 50 , 167 , 141 , 150 , 67 , 50 , 126 , 50 , 150 , 209 , 141 , 50 , 209 , 150 , 109 , 83 , 50 , 226 , 167 , 209 , 100 , 209 , 109 , 209 , 209 , 50 , 183 , 83 , 126 , 67 , 109 , 227 , 109 , 109 , 109 , 150 , 200 , 116 , 200 , 116 , 72 , 150 , 100 , 183 , 209 , 150 , 209 , 209 , 109 , 141 , 50 , 150 , 109 , 109 , 50 , 50 , 209 , 209 , 209 , 109 , 150 , 141 , 209 , 209 , 150 , 109 , 183 , 209 , 209 , 209 , 109 , 209 , 183 , 50 , 50 , 109 , 109 , 50 , 150 , 109 , 109 , 109 , 109 , 150 , 116 , 116 , 116 , 116 , 150 , 150 , 183 , 183 , 209 , 209 , 150 , 141 , 109 , 109 , 50 , 209 , 50 , 150 , 109 , 50 , 150 , 209 , 50 , 141 , 109 , 209 , 150 , 50 , 209 , 209 , 109 , 209 , 209 , 50 , 209 , 183 , 109 , 209 , 109 , 109 , 183 , 109 , 209 , 109 , 150 , 109 , 150 , 109 , 116 , 116 , 116 , 116 , 150 , 150 , 183 , 183 , 209 , 150 , 209 , 109 , 209 , 141 , 50 , 150 , 109 , 109 , 50 , 50 , 209 , 209 , 209 , 209 , 109 , 209 , 150 , 209 , 141 , 109 , 109 , 209 , 109 , 209 , 183 , 50 , 150 , 109 , 109 , 50 , 183 , 209 , 109 , 109 , 150 , 50 , 109 , 150 , 116 , 116 , 116 , 116 , 150 , 150 , 183 , 183 , 209 , 162 , 209 , 209 , 109 , 209 , 209 , 176 , 209 , 62 , 162 , 109 , 176 , 209 , 109 , 109 , 76 , 109 , 209 , 109 , 62 , 76 , 109 , 109 , 162 , 209 , 176 , 62 , 209 , 109 , 209 , 76 , 162 , 176 , 209 , 109 , 209 , 209 , 183 , 209 , 109 , 62 , 209 , 183 , 76 , 109 , 109 , 109 , 150 , 109 , 109 , 150 , 116 , 116 , 116 , 116 , 150 , 150 , 183 , 183 , 209 , 209 , 209 , 109 , 209 , 176 , 109 , 162 , 109 , 209 , 109 , 209 , 76 , 209 , 62 , 176 , 209 , 109 , 109 , 162 , 109 , 76 , 109 , 62 , 209 , 209 , 109 , 109 , 176 , 162 , 209 , 209 , 76 , 209 , 109 , 62 , 176 , 209 , 109 , 183 , 209 , 162 , 109 , 183 , 76 , 209 , 109 , 150 , 109 , 62 , 150 , 109 , 116 , 116 , 116 , 116 , 150 , 150 , 183 , 183 , 209 , 162 , 109 , 209 , 62 , 209 , 176 , 209 , 209 , 209 , 109 , 209 , 162 , 109 , 176 , 76 , 209 , 109 , 109 , 109 , 109 , 62 , 76 , 109 , 162 , 176 , 209 , 209 , 209 , 62 , 76 , 209 , 109 , 109 , 162 , 109 , 209 , 109 , 62 , 176 , 109 , 209 , 183 , 76 , 209 , 183 , 109 , 209 , 150 , 109 , 150 , 109 , 116 , 116 , 116 , 116 , 150 , 150 , 183 , 183 , 209 , 209 , 109 , 209 , 209 , 109 , 176 , 209 , 162 , 109 , 209 , 209 , 109 , 76 , 109 , 209 , 176 , 62 , 109 , 162 , 109 , 109 , 76 , 62 , 209 , 176 , 209 , 209 , 162 , 109 , 209 , 209 , 76 , 109 , 209 , 176 , 62 , 109 , 162 , 183 , 109 , 209 , 209 , 109 , 183 , 109 , 76 , 62 , 150 , 109 , 109 , 150 , 116 , 116 , 116 , 116 , 150 , 150 , 183 , 183 , 209 , 156 , 109 , 56 , 183 , 157 , 156 , 156 , 56 , 56 , 157 , 131 , 156 , 209 , 56 , 109 , 131 , 105 , 209 , 156 , 109 , 56 , 116 , 142 , 156 , 156 , 56 , 56 , 142 , 168 , 156 , 209 , 56 , 109 , 168 , 194 , 209 , 156 , 109 , 56 , 150 , 135 , 156 , 156 , 56 , 56 , 135 , 120 , 156 , 209 , 56 , 109 , 120 , 105 , 209 , 156 , 109 , 56 , 150 , 164 , 156 , 156 , 56 , 56 , 164 , 179 , 156 , 209 , 56 , 109 , 179 , 194 , 209 , 209 , 185 , 209 , 185 , 109 , 83 , 85 , 109 , 209 , 85 , 83 , 109 , 61 , 109 , 61 , 194 , 238 , 105 , 150 , 209 , 198 , 185 , 109 , 178 , 209 , 98 , 85 , 185 , 198 , 83 , 78 , 178 , 109 , 150 , 85 , 98 , 83 , 78 , 150 , 61 , 83 , 61 , 83 , 238 , 194 , 150 , 105 , 198 , 178 , 209 , 185 , 198 , 150 , 178 , 98 , 78 , 209 , 83 , 185 , 109 , 85 , 98 , 150 , 78 , 109 , 83 , 85 , 83 , 61 , 83 , 61 , 194 , 150 , 105 , 61 , 209 , 198 , 185 , 109 , 178 , 209 , 83 , 98 , 185 , 85 , 198 , 150 , 178 , 78 , 109 , 83 , 85 , 98 , 150 , 78 , 61 , 83 , 61 , 83 , 150 , 194 , 61 , 105 , 198 , 209 , 178 , 98 , 198 , 185 , 150 , 209 , 109 , 178 , 78 , 83 , 98 , 185 , 85 , 150 , 109 , 78 , 83 , 85 , 83 , 61 , 83 , 61 , 194 , 150 , 105 , 61 , 209 , 198 , 109 , 185 , 98 , 178 , 209 , 185 , 85 , 83 , 198 , 178 , 78 , 150 , 109 , 85 , 83 , 98 , 78 , 150 , 61 , 83 , 61 , 83 , 150 , 194 , 61 , 105 , 198 , 178 , 198 , 209 , 185 , 209 , 150 , 178 , 98 , 78 , 98 , 83 , 185 , 109 , 85 , 109 , 150 , 78 , 83 , 85 , 83 , 61 , 83 , 61 , 194 , 238 , 105 , 150 , 209 , 185 , 198 , 209 , 178 , 185 , 109 , 83 , 198 , 85 , 178 , 98 , 150 , 109 , 78 , 85 , 83 , 98 , 78 , 150 , 61 , 83 , 61 , 83 , 238 , 194 , 150 , 105 , 198 , 178 , 209 , 185 , 98 , 78 , 198 , 109 , 178 , 85 , 209 , 150 , 185 , 98 , 83 , 78 , 109 , 150 , 85 , 83 , 83 , 61 , 83 , 61 , 194 , 238 , 105 , 150 , 209 , 198 , 185 , 109 , 178 , 209 , 98 , 83 , 185 , 85 , 198 , 150 , 178 , 78 , 109 , 83 , 85 , 98 , 150 , 78 , 61 , 83 , 61 , 83 , 238 , 194 , 150 , 105 , 150 , 209 , 150 , 83 , 209 , 109 , 83 , 105 , 109 , 105 , 194 , 194 , 209 , 209 , 209 , 209 , 109 , 109 , 109 , 109 , 105 , 194 , 105 , 194 , 209 , 209 , 209 , 209 , 109 , 109 , 109 , 109 , 105 , 194 , 105 , 194 , 209 , 150 , 198 , 109 , 178 , 150 , 50 , 150 , 98 , 78 , 50 , 50 , 150 , 156 , 50 , 150 , 56 , 156 , 150 , 105 , 50 , 209 , 131 , 56 , 50 , 194 , 109 , 179 , 116 , 116 , 156 , 156 , 56 , 56 , 131 , 156 , 157 , 156 , 209 , 56 , 209 , 56 , 109 , 109 , 179 , 164 , 116 , 116 , 156 , 209 , 56 , 109 , 157 , 183 , 156 , 209 , 209 , 209 , 56 , 109 , 109 , 109 , 164 , 116 , 150 , 116 , 209 , 150 , 198 , 109 , 150 , 178 , 50 , 98 , 150 , 50 , 78 , 50 , 150 , 156 , 150 , 50 , 150 , 156 , 56 , 209 , 50 , 194 , 50 , 56 , 168 , 109 , 105 , 183 , 120 , 183 , 156 , 156 , 209 , 156 , 156 , 56 , 56 , 209 , 56 , 56 , 109 , 168 , 120 , 109 , 142 , 135 , 183 , 183 , 156 , 156 , 209 , 209 , 56 , 209 , 56 , 109 , 209 , 142 , 109 , 109 , 116 , 135 , 109 , 150 , 183 , 183 , 209 , 209 , 109 , 209 , 209 , 209 , 209 , 109 , 209 , 183 , 209 , 209 , 209 , 109 , 183 , 209 , 209 , 109 , 109 , 109 , 150 , 109 , 109 , 109 , 109 , 150 , 109 , 109 , 116 , 116 , 116 , 116 , 150 , 150 , 183 , 183 };

void move_hexy(){
int startTime = hexy.millis_new();
int currentTime = 0;
int last_update = 0;
for(int i=0; i<MOVE_HEXY_SIZE; i++){
delayMicroseconds(10);
currentTime = hexy.millis_new() - startTime;
uint16_t move_time = pgm_read_word_near(move_hexy_time + i);
while(currentTime < move_time){
delayMicroseconds(10);
currentTime = hexy.millis_new() - startTime;
}
uint8_t servo_time = pgm_read_byte_near(move_hexy_servo + i);
uint8_t servo_pos = pgm_read_byte_near(move_hexy_pos + i);
hexy.changeServo(servo_time, servo_pos*10);
last_update = currentTime;
}
}
//Move Size is 9176 bytes
//Run this move by using:
// move_hexy()


#2

Hi Ruben,

You must first select the Arduino Leonardo as your board. These errors come from having another board selected.