Text senden mit smallprotokoll unsigned char text[4] = "test",wert=0xDE; unsigned int bcc,xpos1=0,ypos1=0; bcc = 0x11 + 0x07 + 0x1b + 'G' + 'D' + xpos1 + ypos1 + 0xEF + 0x7F; bcc = bcc % 256; start_i2c(); byte_out(wert); byte_out(0x11); //dc1 byte_out(0x07); //len byte_out(0x1b); //esc byte_out('G'); byte_out('D'); byte_out(xpos1); byte_out(ypos1); byte_out(0xEF); byte_out(0x7F); byte_out(bcc); //bcc stop_i2c(); Text senden ohne smallprotokoll unsigned char text[4] = "test",wert=0xDE; unsigned int bcc,xpos1=0,ypos1=0; start_i2c(); byte_out(wert); byte_out(0x1b); byte_out('Z'); byte_out('R'); byte_out(xpos1); byte_out(ypos1); for(b=0;b<=3;b++) { byte_out(text[b]); for (k=0;k