Hi Guys I'm trying to subtract 3 from each entry in an array and save it in another array.
int[] messageA = {68, 70, 87, 68, 35, 72, 86, 87};
int[] messageB = {0, 0, 0, 0, 0, 0, 0, 0};
(what should Read messageB)
int[] messageB = {65,67,84,65,32,69,83,84};
I did this but of course is not working but not sure how to continue
void setup() {
for (int i = 0 ; i=messageA.length; i++){
messageB[]=messageA -3;
}
}
thanks in advance