Change sub array data in one?


i have array...
byte test[4][8]={{2,4,16,32,63,65,127,64},{2,4,16,32,63,65,127,64},{1,3,7,15,31,63,127,255},{0,0,0,0,0,0,0,0}};
and later wish change 1 sub array...
test[1] = {27,3,19,31,53,5,12,60};
does not work , gives 'expected primary expression before { token.
will please suggest correct syntax other addressing each element in turn , changing data.
thanks


will please suggest correct syntax other addressing each element in turn , changing data.
thanks


that's how it. throw memory @ "problem" , declare constant array of new values , use memcpy


Arduino Forum > Using Arduino > Programming Questions > Change sub array data in one?


arduino

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

Rasperry Wifi LAN Controller - Raspberry Pi Forums

Unlock car with bluetooth and car key