Hi Madsci1016
Thanks for your work ¡¡. I have a problem using your lib. The question is: I can transfert array of struct (strings content)between arduinos with softserial ? I using this code:
TX Arduino1:
struct SEND_DATA_STRUCTURE
{
String Nombre;
String RfidTagIDNombre;
String carril;
String Coche;
String RfidTagIDCoche;
};
SEND_DATA_STRUCTURE Piloto[6];
Output log:
dentro del parser 5
Nombre:oskar
Coche:Mitsu
Carril:1
RfidTagIDCoche:f48cc7be
RfidTagIDNombre:cd4941f4
*RX Arduino2:
*
struct RECEIVE_DATA_STRUCTURE
{
String Nombre;
String RfidTagIDNombre;
String carril;
String Coche;
String RfidTagIDCoche;
};
RECEIVE_DATA_STRUCTURE Piloto[6];
void serialEventArdus() {
if(ET.receiveData()){
Serial.print("Nombre:"); Serial.println(Piloto[0].Nombre);
}
Output log:
Nombre:¸¸¸¸¸
A lot of thanks
Hi Madsci1016
Thanks for your work ¡¡. I have a problem using your lib. The question is: I can transfert array of struct (strings content)between arduinos with softserial ? I using this code:
TX Arduino1:
struct SEND_DATA_STRUCTURE
{
String Nombre;
String RfidTagIDNombre;
String carril;
String Coche;
String RfidTagIDCoche;
};
SEND_DATA_STRUCTURE Piloto[6];
Output log:
dentro del parser 5
Nombre:oskar
Coche:Mitsu
Carril:1
RfidTagIDCoche:f48cc7be
RfidTagIDNombre:cd4941f4
*RX Arduino2:
*
struct RECEIVE_DATA_STRUCTURE
{
String Nombre;
String RfidTagIDNombre;
String carril;
String Coche;
String RfidTagIDCoche;
};
RECEIVE_DATA_STRUCTURE Piloto[6];
void serialEventArdus() {
if(ET.receiveData()){
Serial.print("Nombre:"); Serial.println(Piloto[0].Nombre);
}
Output log:
Nombre:¸¸¸¸¸
A lot of thanks