Hi
If i had a test.txt file containing:
{191,64,254,128,4,606,378,321},
{191,128,254,128,4,607,378,321},
{191,1,254,128,4,608,378,321},
{127,2,254,128,4,609,378,321},
{127,4,254,128,4,610,378,321},
{127,8,254,128,4,611,378,321},
{127,16,254,128,4,612,378,321},
on an SD card properly connected to a Mega, how can I read it into an array named data?
So the array would look like:
int data[7][8] =
{
{191,64,254,128,4,606,378,321},
{191,128,254,128,4,607,378,321},
{191,1,254,128,4,608,378,321},
{127,2,254,128,4,609,378,321},
{127,4,254,128,4,610,378,321},
{127,8,254,128,4,611,378,321},
{127,16,254,128,4,612,378,321},
};