code check for me please

i would make a table with the positions in it. like this:

int table2[8] = { 8,2 , 9,2 , 14,2 , 15,2 };

and then draw them with a for loop as AWOL said:

for (int i=0; i<= 7; i+=2)  {
     matrix.drawPixel(table2[i],table[i+1],2);
}