[SOLVED] Problem assigning values to array

DKWatson:
The last entry has a comma in it.

PaulMurrayCbr:

wire_amps[8][1] = 1,47;

The infamous C comma operator, bane of newbs.

This is it! That's what the problem was, a comma instead of a period. Oh, and I didn't know that a comma is an operator. While I'm a noob at C, can't say that I ever came across the use of a comma as an operator in any other language I've played with....

gfvalvo:
Array indices in C run from 0 to N-1. So row 8 of your array doesn't exist. You're writing to memory that you don't own. Results will be unpredictable.

Yes, this bit caused the whole code to not work in my example code. Over-sizing the array and the code worked.

Thanks all for helping this noob out!

Randy