a[i] = b * c[i]; Comes With Errors Inside For & While Loops

There are a number of things that are, at best, fuzzy. First, what's this about:

const float ax[6] = {@*&#^%&};
const float ay[6] = {^%$#&*%};
const float az[6] = {%$#^%&*};

Those don't look like floating point constants. In the following expression:

 motor[i] += (axScaler) * (ax[i]);

You should post all of your code, too.