2 dimensionales String (80x3) Array verarbeiten / Arduino

HI,

i just created an Array/String to have a set of data, which i can share with functions later on, and which show me which pins are set and how they set...

This array/string is (80x3),

String iomodus[80][3] = {
//"presentation", "set/req", "description"
{„0“,                       “0“,              “free“},
{„0“,“0“,“free“},
{"S_BINARY","V_STATUS","test switch"}, //D3
{„0“,“0“,“free“}, //D4
...
{„0“,“0“,“free“}, //D80
};

the data insight is TEXT like

S_BINARY
V_STATUS
test switch

all 3 of column are used by functions which expecting the 1st and 2nd column as uint8_t and the 3d as an char

present(uint8_t childSensorId, uint8_t sensorType, const char 
*description, bool enableAck)

i= CHILD_ID
iomodus*[1st COLUMN] = presentation ID*
iomodus*[3rd COLUMN] = description as Text*
ACK= true
so and now i have a problem!!!!!!!
i cant get the data out of the Array!
Tried this function :
```
*void presentation()
{
 // Send the sketch version information to the gateway and Controller
 sendSketchInfo("Relay+Max31855", "1.0");

for (int i = 0; i<70; i++) //all Ports D0 bis D69

//present(uint8_t childSensorId, uint8_t sensorType, const char
description, bool enableAck)
present(i, iomodus[i][1], iomodus[i][3], true);
}

*_ _*BUT get Error:*_ _*
cannot convert 'String' to 'uint8_t {aka unsigned char}' for argument
'2' to 'void present(uint8_t, uint8_t, const char
, bool)'

_
```*_
ALready sitting whole nigt :frowning:
Please HELP!!!

String iomodus[80][3] = {
//"presentation", "set/req", "description"
{„0",                       "0",              "free"},

I can't see that this will even compile. The first two initializers are missing. The third is not a valid value or a valid string.

The present() function takes two unsigned ints, a character string, and a bool. You are trying to pass it an int, two String objects, and a bool. Of course, the compiler doesn't like it.

Ditch the String array. Create an array of structs. The struct should contain two unsigned ints and char array.