I 've added the library #include "EBYTE.H" and i wrote SendStruct(&name, sizeof(Name)) ; but it says SendStruct() was not declared in this scope, here is the full code:
`#include
struct Name{
int name = 40 ;
int identity = 41 ;
};
Name name;
EBYTE Transceiver(&Serial, 4, 5, 6);
void setup() {
Serial.begin(9600);
}
void loop() {
SendStruct(&name, sizeof(Name)) ;
delay(1000);
}`
What am i doing wrong, can you help me please
I 've added the library #include "EBYTE.H" and i wrote SendStruct(&name, sizeof(Name)) ; but it says SendStruct() was not declared in this scope, here is the full code: `#include
struct Name{ int name = 40 ; int identity = 41 ; }; Name name;
EBYTE Transceiver(&Serial, 4, 5, 6);
void setup() { Serial.begin(9600); }
void loop() { SendStruct(&name, sizeof(Name)) ; delay(1000); }` What am i doing wrong, can you help me please