Arduino Compiling Error


#1

I have the libraries installed and I have double checked everything. just looking to see if anyone had similar type of problem.
I have attached the pic.

[code]#include <avr/pgmspace.h>
#define MOVE_HEXY_SIZE 1560

const PROGMEM uint16_t move_hexy_time[MOVE_HEXY_SIZE] = {
0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 402, 403, 403, 403, 404, 404, 404, 404, 405, 405, 405, 405, 405, 405, 406, 406, 406, 406, 503, 503, 504, 504, 504, 505, 505, 505, 506, 506, 506, 506, 506, 506, 507, 507, 507, 507, 604, 605, 605, 605, 606, 606, 606, 606, 607, 607, 607, 607, 607, 607, 608, 608, 608, 608, 904, 904, 905, 905, 906, 906, 906, 906, 907, 907, 907, 907, 1307, 1307, 1308, 1308, 1308, 1309, 1309, 1309, 1309, 1309, 1310, 1310, 1310, 1310, 1310, 1310, 1311, 1311, 1408, 1408, 1409, 1409, 1409, 1410, 1410, 1410, 1410, 1411, 1411, 1411, 1411, 1411, 1411, 1412, 1412, 1412, 1509, 1509, 1510, 1510, 1510, 1510, 1511, 1511, 1511, 1512, 1512, 1512, 1512, 1512, 1512, 1513, 1513, 1513, 1810, 1810, 1811, 1811, 1812, 1812, 1813, 1813, 1813, 1814, 1814, 1814, 1815, 1815, 1815, 1816, 1816, 1816, 1816, 1817, 1817, 1817, 1817, 1817, 1817, 1818, 1818, 1818, 1818, 1818, 1819, 1819, 1819, 1819, 1819, 1820, 3215, 3216, 3216, 3216, 3217, 3217, 3217, 3217, 3218, 3218, 3218, 3218, 3617, 3618, 3618, 3618, 3619, 3619, 3619, 3620, 3620, 3620, 3620, 3620, 3620, 3621, 3621, 3621, 3621, 3621, 3719, 3719, 3719, 3719, 3720, 3720, 3720, 3720, 3721, 3721, 3721, 3721, 3722, 3722, 3722, 3722, 3722, 3722, 3820, 3820, 3820, 3821, 3821, 3821, 3821, 3822, 3822, 3822, 3822, 3822, 3822, 3823, 3823, 3823, 3823, 3823, 4120, 4120, 4120, 4121, 4121, 4122, 4122, 4122, 4122, 4122, 4123, 4123, 4522, 4522, 4523, 4523, 4523, 4524, 4524, 4524, 4524, 4524, 4525, 4525, 4525, 4525, 4525, 4525, 4526, 4526, 4623, 4623, 4624, 4624, 4624, 4624, 4625, 4625, 4625, 4625, 4626, 4626, 4626, 4626, 4626, 4626, 4627, 4627, 4724, 4724, 4725, 4725, 4725, 4726, 4726, 4726, 4726, 4727, 4727, 4727, 4727, 4727, 4727, 4728, 4728, 4728, 5025, 5025, 5026, 5026, 5027, 5027, 5028, 5028, 5028, 5029, 5029, 5029, 5030, 5030, 5030, 5030, 5030, 5031, 5031, 5031, 5031, 5032, 5032, 5032, 5032, 5032, 5033, 5033, 5033, 5033, 5033, 5034, 5034, 5034, 5034, 5034, 7063, 7064, 7064, 7064, 7065, 7065, 7066, 7066, 7066, 7067, 7067, 7067, 7067, 7068, 7068, 7068, 7068, 7068, 7068, 7069, 7069, 7069, 7069, 7069, 7069, 7069, 7069, 7070, 7070, 7070, 7232, 7232, 7232, 7233, 7233, 7233, 7233, 7233, 7234, 7234, 7234, 7234, 7235, 7235, 7235, 7235, 7235, 7235, 7400, 7400, 7400, 7400, 7401, 7401, 7401, 7401, 7402, 7402, 7402, 7402, 7402, 7403, 7403, 7403, 7403, 7403, 7668, 7668, 7669, 7669, 7669, 7670, 7670, 7670, 7671, 7671, 7672, 7672, 7672, 7672, 7673, 7673, 7673, 7673, 7673, 7673, 7673, 7674, 7674, 7674, 7674, 7674, 7674, 7675, 7675, 7675, 7836, 7836, 7837, 7837, 7837, 7838, 7838, 7838, 7838, 7839, 7839, 7839, 7839, 7839, 7840, 7840, 7840, 7840, 8004, 8005, 8005, 8005, 8005, 8006, 8006, 8006, 8006, 8007, 8007, 8007, 8007, 8007, 8008, 8008, 8008, 8008, 8272, 8272, 8273, 8273, 8274, 8274, 8275, 8275, 8275, 8276, 8276, 8276, 8276, 8277, 8277, 8277, 8277, 8277, 8277, 8278, 8278, 8278, 8278, 8278, 8278, 8278, 8279, 8279, 8279, 8279, 8441, 8441, 8441, 8442, 8442, 8442, 8443, 8443, 8443, 8444, 8444, 8444, 8444, 8444, 8445, 8445, 8445, 8445, 8609, 8609, 8609, 8609, 8610, 8610, 8611, 8611, 8611, 8611, 8612, 8612, 8612, 8612, 8613, 8613, 8613, 8613, 8877, 8877, 8877, 8878, 8878, 8878, 8879, 8879, 8880, 8880, 8881, 8881, 8881, 8881, 8881, 8881, 8882, 8882, 8882, 8882, 8882, 8882, 8882, 8883, 8883, 8883, 8883, 8883, 8883, 8883, 9045, 9045, 9046, 9046, 9046, 9047, 9047, 9047, 9047, 9048, 9048, 9048, 9048, 9048, 9049, 9049, 9049, 9049, 9213, 9213, 9214, 9214, 9214, 9214, 9215, 9215, 9215, 9216, 9216, 9216, 9216, 9216, 9216, 9217, 9217, 9217, 10383, 10384, 10384, 10385, 10385, 10386, 10386, 10387, 10387, 10387, 10387, 10388, 10388, 10388, 10388, 10388, 10388, 10388, 10389, 10389, 10389, 10389, 10389, 10389, 10389, 10390, 10390, 10390, 10390, 10390, 10553, 10554, 10554, 10554, 10555, 10555, 10555, 10555, 10556, 10556, 10556, 10556, 10556, 10556, 10556, 10557, 10557, 10557, 10722, 10722, 10723, 10723, 10723, 10724, 10724, 10724, 10724, 10724, 10725, 10725, 10725, 10725, 10725, 10725, 10725, 10726, 10987, 10988, 10988, 10988, 10989, 10989, 10990, 10990, 10990, 10991, 10991, 10991, 10991, 10991, 10992, 10992, 10992, 10992, 10992, 10992, 10992, 10993, 10993, 10993, 10993, 10993, 10993, 10993, 10994, 10994, 11155, 11156, 11156, 11156, 11156, 11156, 11156, 11157, 11157, 11157, 11157, 11157, 11158, 11158, 11158, 11158, 11158, 11159, 11323, 11323, 11323, 11323, 11324, 11324, 11324, 11324, 11324, 11325, 11325, 11325, 11325, 11326, 11326, 11326, 11326, 11327, 11592, 11592, 11592, 11593, 11593, 11594, 11594, 11595, 11595, 11596, 11596, 11596, 11596, 11596, 11596, 11597, 11597, 11597, 11597, 11597, 11597, 11598, 11598, 11598, 11598, 11598, 11598, 11599, 11599, 11599, 11761, 11761, 11761, 11762, 11762, 11762, 11763, 11763, 11763, 11764, 11764, 11764, 11764, 11764, 11764, 11764, 11765, 11765, 11929, 11929, 11930, 11930, 11930, 11931, 11931, 11931, 11931, 11932, 11932, 11932, 11932, 11932, 11932, 11933, 11933, 11933, 12196, 12197, 12197, 12197, 12198, 12198, 12199, 12199, 12200, 12200, 12200, 12200, 12200, 12201, 12201, 12201, 12201, 12201, 12201, 12201, 12202, 12202, 12202, 12202, 12202, 12202, 12202, 12203, 12203, 12203, 12365, 12366, 12366, 12366, 12366, 12367, 12367, 12367, 12368, 12368, 12368, 12368, 12368, 12369, 12369, 12369, 12369, 12369, 12533, 12534, 12534, 12534, 12534, 12534, 12535, 12535, 12535, 12535, 12536, 12536, 12536, 12536, 12536, 12536, 12537, 12537, 14615, 14616, 14616, 14616, 14617, 14617, 14618, 14618, 14619, 14619, 14619, 14619, 14619, 14620, 14620, 14620, 14620, 14620, 14620, 14620, 14621, 14621, 14621, 14621, 14621, 14622, 14622, 14622, 14622, 14622, 14784, 14784, 14784, 14784, 14785, 14785, 14785, 14786, 14786, 14786, 14786, 14787, 14787, 14787, 14787, 14787, 14788, 14788, 14952, 14952, 14952, 14953, 14953, 14953, 14953, 14953, 14954, 14954, 14954, 14954, 14955, 14955, 14955, 14955, 14955, 14955, 15219, 15219, 15220, 15220, 15221, 15221, 15221, 15222, 15222, 15223, 15223, 15223, 15223, 15223, 15223, 15224, 15224, 15224, 15224, 15224, 15224, 15225, 15225, 15225, 15225, 15225, 15225, 15226, 15226, 15226, 15388, 15389, 15389, 15389, 15389, 15390, 15390, 15390, 15391, 15391, 15391, 15391, 15391, 15391, 15392, 15392, 15392, 15392, 15556, 15556, 15556, 15556, 15556, 15557, 15557, 15558, 15558, 15558, 15558, 15559, 15559, 15559, 15559, 15559, 15560, 15560, 15823, 15824, 15824, 15824, 15825, 15825, 15826, 15827, 15827, 15827, 15828, 15828, 15828, 15828, 15828, 15828, 15829, 15829, 15829, 15829, 15829, 15829, 15830, 15830, 15830, 15830, 15830, 15830, 15831, 15831, 15992, 15992, 15992, 15992, 15993, 15993, 15994, 15994, 15994, 15995, 15995, 15995, 15995, 15996, 15996, 15996, 15996, 15996, 16160, 16160, 16160, 16161, 16161, 16161, 16162, 16162, 16162, 16162, 16163, 16163, 16163, 16163, 16164, 16164, 16164, 16164, 16428, 16428, 16429, 16429, 16429, 16430, 16430, 16431, 16431, 16432, 16432, 16432, 16432, 16432, 16433, 16433, 16433, 16433, 16433, 16433, 16433, 16434, 16434, 16434, 16434, 16434, 16434, 16435, 16435, 16435, 16597, 16597, 16597, 16598, 16598, 16598, 16599, 16599, 16599, 16599, 16600, 16600, 16600, 16600, 16600, 16600, 16601, 16601, 16765, 16765, 16766, 16766, 16766, 16766, 16767, 16767, 16767, 16767, 16768, 16768, 16768, 16768, 16768, 16768, 16769, 16769, 17943, 17943, 17944, 17944, 17944, 17944, 17945, 17945, 17945, 17945, 17946, 17946, 18345, 18346, 18346, 18347, 18347, 18347, 18347, 18348, 18348, 18348, 18348, 18348, 18349, 18349, 18349, 18349, 18349, 18349, 18446, 18447, 18447, 18447, 18448, 18448, 18448, 18449, 18449, 18449, 18449, 18449, 18449, 18450, 18450, 18450, 18450, 18450, 18547, 18548, 18548, 18548, 18549, 18549, 18549, 18549, 18550, 18550, 18550, 18550, 18550, 18550, 18551, 18551, 18551, 18551, 18847, 18848, 18848, 18849, 18849, 18849, 18849, 18850, 18850, 18850, 18850, 18850, 19250, 19250, 19250, 19251, 19251, 19251, 19252, 19252, 19252, 19252, 19253, 19253, 19253, 19253, 19253, 19253, 19253, 19254, 19351, 19351, 19352, 19352, 19352, 19352, 19353, 19353, 19353, 19353, 19354, 19354, 19354, 19354, 19354, 19354, 19354, 19355, 19452, 19452, 19453, 19453, 19453, 19454, 19454, 19454, 19454, 19455, 19455, 19455, 19455, 19455, 19455, 19455, 19456, 19456, 19753, 19753, 19754, 19754, 19755, 19755, 19756, 19756, 19757, 19757, 19757, 19758, 19758, 19758, 19758, 19759, 19759, 19759, 19759, 19760, 19760, 19760, 19760, 19760, 19761, 19761, 19761, 19761, 19761, 19762, 19762, 19762, 19762, 19762, 19763, 19763, 20719, 20719, 20720, 20720, 20721, 20721, 20722, 20722, 20723, 20723, 20723, 20723, 20724, 20724, 20724, 20724, 20724, 20724, 20725, 20725, 20725, 20725, 20725, 20725, 20726, 20726, 20726, 20726, 20726, 20726, 20888, 20888, 20888, 20889, 20889, 20889, 20889, 20890, 20890, 20890, 20890, 20891, 20891, 20891, 20891, 20891, 20892, 20892, 21056, 21056, 21057, 21057, 21057, 21058, 21058, 21058, 21058, 21059, 21059, 21059, 21059, 21059, 21059, 21060, 21060, 21060, 21323, 21324, 21324, 21325, 21325, 21326, 21326, 21327, 21327, 21327, 21327, 21327, 21328, 21328, 21328, 21328, 21328, 21328, 21329, 21329, 21329, 21329, 21329, 21329, 21329, 21330, 21330, 21330, 21330, 21330, 21492, 21493, 21493, 21493, 21494, 21494, 21494, 21495, 21495, 21495, 21495, 21496, 21496, 21496, 21496, 21496, 21496, 21496, 21660, 21661, 21661, 21661, 21661, 21661, 21662, 21662, 21662, 21662, 21663, 21663, 21663, 21663, 21663, 21664, 21664, 21664, 21927, 21928, 21928, 21929, 21930, 21931, 21931, 21932, 21932, 21932, 21933, 21933, 21933, 21933, 21933, 21934, 21934, 21934, 21934, 21934, 21935, 21935, 21935, 21935, 21935, 21935, 21936, 21936, 21936, 21936, 22096, 22096, 22096, 22096, 22097, 22097, 22099, 22099, 22100, 22100, 22100, 22100, 22101, 22101, 22101, 22101, 22101, 22101, 22264, 22264, 22264, 22265, 22265, 22265, 22267, 22267, 22268, 22268, 22268, 22268, 22268, 22268, 22269, 22269, 22269, 22269, 22532, 22532, 22533, 22533, 22534, 22534, 22535, 22535, 22536, 22536, 22536, 22536, 22536, 22536, 22537, 22537, 22537, 22537, 22537, 22537, 22537, 22538, 22538, 22538, 22538, 22538, 22538, 22539, 22539, 22539, 22701, 22701, 22702, 22702, 22702, 22703, 22703, 22703, 22703, 22704, 22704, 22704, 22704, 22704, 22704, 22705, 22705, 22705, 22869, 22869, 22870, 22870, 22870, 22871, 22871, 22871, 22871, 22872, 22872, 22872, 22872, 22872, 22873, 22873, 22873, 22873};

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

const PROGMEM uint8_t move_hexy_pos[MOVE_HEXY_SIZE] = {
150 , 150 , 150 , 150 , 150 , 50 , 150 , 150 , 150 , 50 , 150 , 50 , 150 , 156 , 50 , 150 , 56 , 209 , 150 , 50 , 161 , 150 , 109 , 156 , 150 , 50 , 150 , 56 , 150 , 138 , 156 , 156 , 56 , 56 , 161 , 156 , 209 , 172 , 156 , 209 , 56 , 109 , 56 , 109 , 138 , 150 , 127 , 150 , 156 , 209 , 56 , 109 , 172 , 209 , 156 , 183 , 209 , 209 , 109 , 56 , 109 , 109 , 150 , 127 , 150 , 116 , 150 , 150 , 150 , 150 , 50 , 150 , 150 , 150 , 150 , 50 , 150 , 50 , 150 , 156 , 50 , 150 , 56 , 150 , 209 , 150 , 156 , 138 , 50 , 50 , 109 , 56 , 150 , 150 , 150 , 161 , 156 , 156 , 56 , 56 , 209 , 156 , 138 , 209 , 156 , 127 , 109 , 56 , 109 , 56 , 150 , 161 , 150 , 172 , 156 , 209 , 56 , 109 , 127 , 209 , 156 , 116 , 209 , 209 , 109 , 56 , 109 , 109 , 150 , 172 , 150 , 183 , 209 , 209 , 209 , 109 , 209 , 109 , 209 , 109 , 209 , 209 , 109 , 109 , 209 , 109 , 209 , 109 , 209 , 209 , 183 , 109 , 109 , 209 , 183 , 109 , 109 , 150 , 109 , 150 , 116 , 116 , 116 , 116 , 150 , 150 , 183 , 183 , 209 , 150 , 209 , 109 , 150 , 50 , 109 , 209 , 50 , 150 , 109 , 50 , 150 , 209 , 50 , 150 , 109 , 209 , 183 , 150 , 50 , 183 , 209 , 109 , 50 , 150 , 109 , 150 , 116 , 116 , 209 , 209 , 109 , 109 , 183 , 209 , 209 , 183 , 209 , 209 , 109 , 109 , 109 , 109 , 116 , 150 , 116 , 150 , 209 , 209 , 109 , 109 , 183 , 183 , 209 , 209 , 209 , 209 , 109 , 109 , 109 , 109 , 116 , 150 , 116 , 150 , 209 , 150 , 209 , 109 , 150 , 209 , 50 , 109 , 150 , 50 , 109 , 50 , 150 , 209 , 150 , 50 , 209 , 109 , 150 , 50 , 116 , 209 , 109 , 116 , 50 , 150 , 109 , 150 , 183 , 183 , 209 , 209 , 109 , 109 , 116 , 209 , 209 , 116 , 209 , 209 , 109 , 109 , 109 , 109 , 183 , 150 , 183 , 150 , 209 , 209 , 109 , 109 , 116 , 116 , 209 , 209 , 209 , 209 , 109 , 109 , 109 , 109 , 183 , 150 , 183 , 150 , 209 , 209 , 109 , 209 , 109 , 209 , 209 , 109 , 209 , 109 , 109 , 209 , 109 , 209 , 209 , 109 , 209 , 209 , 183 , 109 , 109 , 209 , 183 , 109 , 109 , 150 , 109 , 150 , 116 , 116 , 116 , 116 , 150 , 150 , 183 , 183 , 209 , 156 , 109 , 209 , 56 , 156 , 183 , 209 , 109 , 172 , 156 , 56 , 116 , 150 , 109 , 94 , 150 , 159 , 56 , 94 , 177 , 183 , 116 , 94 , 150 , 177 , 109 , 150 , 177 , 150 , 156 , 156 , 56 , 56 , 172 , 161 , 156 , 156 , 56 , 56 , 159 , 168 , 156 , 156 , 56 , 56 , 109 , 101 , 156 , 209 , 56 , 109 , 161 , 150 , 156 , 209 , 56 , 109 , 168 , 156 , 177 , 209 , 56 , 109 , 101 , 94 , 209 , 156 , 109 , 209 , 56 , 156 , 94 , 109 , 209 , 113 , 56 , 156 , 150 , 177 , 109 , 205 , 177 , 159 , 56 , 205 , 94 , 122 , 150 , 205 , 150 , 122 , 168 , 150 , 122 , 150 , 156 , 156 , 56 , 56 , 113 , 131 , 156 , 156 , 56 , 56 , 159 , 156 , 140 , 156 , 56 , 56 , 168 , 187 , 156 , 209 , 56 , 109 , 131 , 156 , 150 , 209 , 56 , 109 , 140 , 156 , 209 , 122 , 56 , 109 , 187 , 205 , 209 , 156 , 109 , 209 , 56 , 156 , 209 , 205 , 109 , 156 , 187 , 150 , 56 , 109 , 94 , 122 , 122 , 56 , 94 , 205 , 177 , 140 , 150 , 94 , 150 , 177 , 131 , 150 , 177 , 150 , 156 , 156 , 56 , 56 , 187 , 168 , 156 , 156 , 156 , 156 , 56 , 56 , 56 , 56 , 140 , 131 , 159 , 113 , 156 , 209 , 56 , 109 , 168 , 150 , 156 , 156 , 209 , 209 , 56 , 109 , 56 , 159 , 109 , 177 , 113 , 94 , 209 , 156 , 109 , 209 , 156 , 56 , 209 , 109 , 94 , 156 , 56 , 150 , 113 , 109 , 177 , 205 , 177 , 56 , 159 , 205 , 94 , 122 , 150 , 205 , 150 , 122 , 168 , 150 , 122 , 150 , 156 , 156 , 56 , 56 , 113 , 156 , 131 , 156 , 56 , 56 , 159 , 140 , 156 , 156 , 56 , 56 , 168 , 187 , 156 , 209 , 56 , 109 , 131 , 150 , 156 , 209 , 56 , 109 , 140 , 156 , 122 , 209 , 56 , 109 , 187 , 205 , 209 , 156 , 209 , 109 , 156 , 209 , 56 , 109 , 156 , 150 , 205 , 56 , 109 , 122 , 94 , 187 , 122 , 56 , 177 , 205 , 94 , 140 , 150 , 177 , 150 , 94 , 131 , 177 , 150 , 150 , 156 , 156 , 156 , 156 , 56 , 56 , 56 , 156 , 56 , 187 , 156 , 140 , 168 , 56 , 159 , 56 , 131 , 113 , 156 , 156 , 156 , 209 , 209 , 209 , 56 , 56 , 56 , 109 , 109 , 109 , 113 , 159 , 168 , 94 , 177 , 150 , 209 , 156 , 109 , 209 , 56 , 156 , 109 , 94 , 209 , 56 , 113 , 156 , 150 , 177 , 109 , 177 , 205 , 159 , 56 , 122 , 94 , 205 , 150 , 122 , 150 , 205 , 168 , 122 , 150 , 150 , 156 , 156 , 56 , 56 , 113 , 131 , 156 , 156 , 56 , 56 , 159 , 140 , 156 , 156 , 56 , 56 , 168 , 187 , 156 , 209 , 56 , 109 , 131 , 156 , 150 , 209 , 56 , 109 , 140 , 122 , 156 , 209 , 56 , 109 , 187 , 205 , 209 , 156 , 109 , 209 , 56 , 156 , 209 , 205 , 109 , 156 , 150 , 187 , 56 , 109 , 122 , 94 , 122 , 56 , 205 , 177 , 94 , 140 , 150 , 150 , 177 , 94 , 131 , 150 , 177 , 150 , 156 , 156 , 56 , 56 , 187 , 156 , 156 , 168 , 156 , 156 , 56 , 56 , 56 , 56 , 140 , 131 , 159 , 113 , 156 , 209 , 56 , 109 , 168 , 156 , 156 , 150 , 209 , 209 , 56 , 56 , 109 , 109 , 113 , 159 , 94 , 177 , 209 , 156 , 209 , 109 , 156 , 209 , 56 , 109 , 94 , 156 , 150 , 56 , 113 , 109 , 177 , 205 , 177 , 94 , 56 , 122 , 205 , 159 , 150 , 150 , 122 , 205 , 168 , 150 , 122 , 150 , 156 , 156 , 56 , 56 , 113 , 156 , 131 , 156 , 156 , 156 , 56 , 56 , 56 , 56 , 168 , 159 , 187 , 140 , 156 , 209 , 56 , 109 , 131 , 150 , 156 , 156 , 209 , 209 , 56 , 56 , 109 , 109 , 187 , 140 , 205 , 122 , 209 , 209 , 209 , 109 , 209 , 109 , 109 , 209 , 205 , 109 , 150 , 209 , 122 , 205 , 150 , 109 , 122 , 122 , 150 , 205 , 109 , 122 , 150 , 205 , 150 , 122 , 205 , 150 , 122 , 205 , 209 , 209 , 109 , 109 , 205 , 205 , 209 , 209 , 109 , 109 , 122 , 209 , 122 , 209 , 109 , 109 , 150 , 150 , 209 , 209 , 109 , 109 , 205 , 205 , 209 , 209 , 109 , 109 , 122 , 122 , 209 , 209 , 109 , 109 , 150 , 150 , 209 , 156 , 109 , 209 , 56 , 156 , 209 , 109 , 150 , 156 , 205 , 56 , 109 , 131 , 122 , 150 , 122 , 56 , 150 , 177 , 150 , 140 , 205 , 94 , 177 , 150 , 187 , 94 , 177 , 94 , 156 , 156 , 56 , 56 , 131 , 113 , 156 , 156 , 156 , 156 , 56 , 56 , 56 , 56 , 187 , 140 , 168 , 159 , 156 , 209 , 56 , 109 , 113 , 94 , 156 , 156 , 209 , 209 , 56 , 56 , 109 , 109 , 168 , 159 , 150 , 177 , 209 , 156 , 109 , 209 , 56 , 156 , 150 , 109 , 209 , 168 , 94 , 56 , 156 , 177 , 150 , 177 , 109 , 122 , 150 , 150 , 159 , 56 , 122 , 205 , 150 , 94 , 122 , 205 , 113 , 205 , 156 , 156 , 56 , 56 , 168 , 187 , 156 , 156 , 56 , 56 , 159 , 140 , 156 , 156 , 56 , 56 , 113 , 131 , 156 , 209 , 56 , 109 , 187 , 205 , 156 , 209 , 56 , 109 , 140 , 122 , 156 , 209 , 56 , 109 , 131 , 150 , 209 , 156 , 209 , 109 , 156 , 209 , 56 , 109 , 156 , 205 , 150 , 56 , 109 , 122 , 150 , 131 , 122 , 150 , 56 , 177 , 150 , 140 , 94 , 177 , 205 , 150 , 94 , 177 , 187 , 94 , 156 , 156 , 56 , 56 , 131 , 113 , 156 , 156 , 156 , 156 , 56 , 56 , 56 , 56 , 140 , 187 , 159 , 168 , 156 , 209 , 56 , 109 , 113 , 94 , 156 , 156 , 209 , 56 , 209 , 109 , 56 , 168 , 109 , 150 , 159 , 177 , 209 , 150 , 109 , 209 , 50 , 209 , 150 , 150 , 109 , 109 , 50 , 50 , 150 , 156 , 50 , 150 , 56 , 156 , 150 , 150 , 50 , 156 , 161 , 56 , 50 , 177 , 56 , 168 , 94 , 101 , 156 , 156 , 56 , 56 , 161 , 156 , 156 , 172 , 156 , 156 , 56 , 56 , 56 , 56 , 168 , 101 , 159 , 109 , 156 , 209 , 56 , 109 , 172 , 156 , 183 , 156 , 209 , 209 , 56 , 56 , 109 , 109 , 159 , 109 , 150 , 116 , 209 , 150 , 109 , 209 , 50 , 150 , 109 , 209 , 50 , 150 , 109 , 50 , 150 , 156 , 50 , 150 , 56 , 156 , 150 , 94 , 50 , 156 , 101 , 56 , 50 , 177 , 56 , 168 , 150 , 161 , 156 , 156 , 56 , 56 , 101 , 156 , 156 , 109 , 156 , 156 , 56 , 56 , 56 , 56 , 168 , 161 , 159 , 172 , 156 , 209 , 56 , 109 , 156 , 156 , 109 , 209 , 209 , 116 , 56 , 56 , 109 , 172 , 109 , 183 , 159 , 150 , 209 , 209 , 109 , 209 , 109 , 209 , 209 , 109 , 209 , 109 , 209 , 109 , 109 , 209 , 209 , 109 , 209 , 109 , 183 , 209 , 109 , 183 , 209 , 109 , 150 , 109 , 150 , 116 , 109 , 116 , 116 , 116 , 150 , 150 , 183 , 183 , 209 , 156 , 109 , 209 , 56 , 156 , 209 , 183 , 109 , 156 , 116 , 190 , 56 , 109 , 150 , 150 , 150 , 56 , 150 , 122 , 183 , 140 , 116 , 150 , 122 , 205 , 127 , 122 , 205 , 205 , 156 , 156 , 56 , 56 , 190 , 198 , 156 , 156 , 56 , 56 , 140 , 156 , 131 , 156 , 56 , 56 , 127 , 138 , 156 , 209 , 56 , 109 , 156 , 198 , 209 , 205 , 56 , 109 , 156 , 131 , 209 , 122 , 56 , 109 , 138 , 150 , 209 , 156 , 209 , 109 , 156 , 209 , 56 , 109 , 156 , 150 , 205 , 56 , 109 , 131 , 150 , 122 , 122 , 56 , 150 , 150 , 177 , 140 , 205 , 94 , 150 , 177 , 187 , 94 , 177 , 94 , 156 , 156 , 56 , 56 , 131 , 113 , 156 , 156 , 156 , 156 , 56 , 56 , 56 , 56 , 187 , 168 , 140 , 159 , 156 , 209 , 56 , 109 , 113 , 94 , 156 , 156 , 209 , 56 , 209 , 109 , 56 , 168 , 109 , 150 , 159 , 177 , 209 , 156 , 109 , 209 , 56 , 156 , 150 , 209 , 109 , 168 , 156 , 94 , 56 , 109 , 177 , 150 , 177 , 56 , 150 , 122 , 150 , 159 , 94 , 205 , 122 , 150 , 113 , 205 , 122 , 205 , 156 , 156 , 56 , 56 , 168 , 187 , 156 , 156 , 156 , 156 , 56 , 56 , 56 , 56 , 159 , 113 , 140 , 131 , 156 , 209 , 56 , 109 , 187 , 205 , 156 , 156 , 209 , 209 , 56 , 56 , 109 , 109 , 140 , 131 , 122 , 150 , 209 , 156 , 209 , 109 , 156 , 56 , 209 , 109 , 150 , 205 , 156 , 56 , 131 , 150 , 122 , 109 , 122 , 177 , 150 , 150 , 56 , 140 , 177 , 150 , 94 , 205 , 177 , 94 , 187 , 94 , 156 , 156 , 56 , 56 , 131 , 113 , 156 , 156 , 156 , 156 , 56 , 56 , 56 , 56 , 140 , 187 , 159 , 168 , 156 , 209 , 56 , 109 , 113 , 94 , 156 , 156 , 209 , 209 , 56 , 56 , 109 , 109 , 159 , 168 , 177 , 150 };

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 6240 bytes
//Run this move by using:
// move_hexy()[/code]



#2

Hello,

The code is meant to be pasted at the bottom of the existing code (so it can have the hexy library already started at the top).


#3

I am a beginner for arduino. would you happen to have example code that can work for basic function like moving forward. I am still having difficulty compiling in proper order like you mentioned earlier.