for(int IPin = 22; IPin <38;IPin++)
rather than the "IPin++" part is it possible to define a sequence for example 22,24,26,28 rather than22,23,24
for(int IPin = 22; IPin <38;IPin++)
rather than the "IPin++" part is it possible to define a sequence for example 22,24,26,28 rather than22,23,24
rather than the "IPin++" part is it possible to define a sequence for example 22,24,26,28 rather than22,23,24
IPin += 2.
for(int IPin = 22; IPin <38; IPin+=2)
OK. yes i was referring to the possibility of a non-linear increment say 2,4,8,16
yes i was referring to the possibility of a non-linear increment say 2,4,8,16
for (uint32_t x = 1; x != 0; x <<= 1)
OK. yes i was referring to the possibility of a non-linear increment say 2,4,8,16
byte inc[] = {2, 4, 8, 16};
for(int i=22, j=0; i<38; i+=inc[j], j++)
{
}
Thinking outside the box is permitted. Do it often enough, and the box becomes bigger.
thanks much appreciated
Thinking outside the box is permitted. Do it often enough, and the box becomes bigger.
I find this perspective can sometimes lead to one believing the dimensions of his box to be larger than they actually are.