Hi, Hi friends, I am new to arduino programming and I have a problem like this. As in the following example, the RF verifier converts the incoming data to an individual string, passes it to the message variable, has string data in the message, and I can use it as a string. But how can I synchronize a string message with a char * plate ? As the following is the * plate = message, it gives a string-char data type error,
I mean, I want to send the message to the plate, do I have to convert the string back to char to do this, or should I transfer the incoming data to the plate variable without doing any joins? What functions can I do
if (vw_get_message (buf, & buflen))
{
for (i; i < buflen; i ++)
{
c = char (buf [ i ]);
s = string ( c );
message + = s;
}
Serial.println (message);
}
Const char * plate = message; // ???
Const char * dplakalar =
{
“54AKM01”,
“54AKM02”,
“54AKM03”
}
for (x = 0; x <len; x ++)
{
if (strcmp (plate, dplakalar [ x ]) == 0)
{
Gecerli_Plaka ();
Break;
}