Loops through the values of i, from the first to the last by the increment specified. Useful when used in combination with arrays to operate on collections of data/pins.
for (i=1; i <= 8; i++) {
statement using the value i; }
N.B. In C you don’t need to initialise the local variable i. This is different in other, java based languages.