C/C++ Question how to handle "struct" from h file arduino in h file B4X ?

candide

Active Member
Licensed User
in a h file arduino i have :
B4X:
struct HighLow {
        uint8_t high;
        uint8_t low;
    };
struct Protocol {
        uint16_t pulseLength;
        HighLow syncFactor;
        HighLow zero;
        HighLow one;
        bool invertedSignal;
    };
    void setProtocol(Protocol protocol);
how i can handle that in h file B4R and in xml file? . (i didn't find example to help me...)

thanks for your help
 
Top