struct TxBox { int x1, y1; //class/struct Point int x2, y2; //class/struct Point int upBorderAttr; int dwnBorderAttr; int txFieldAttr; }; TxBox tbox { x1: 0, y1: 0, x2: 40, y2: 10, upBorderAttr: 0x70, dwnBorderAttr: 0xae, txFieldAttr: 0x2e }; void ansiTxBox(const TxBox &box) { int x; x= box.x1; Serial.println("\n\r Nur eine Testausgabe \n\r"); } void setup() { Serial.begin(115200); tbox = { x1: 5, y1: 6, x2: 40, y2: 10, upBorderAttr: 0x70, dwnBorderAttr: 0xae, txFieldAttr: 0x2e }; tbox.x2 = 85; ansiTxBox(tbox); } void loop() { }