For

From ElectroDragon Wiki

for(uint8_t _i = 0; _i <10; _i ++) {

   i2cWriteBuf[_i] = '0' + _i;

}