Thanks for the reply.
For now, i got the xml part working, meaning it shows up in Project Designer, and it shows all the right boxes that i wanted. Next is the actual coding part, and that's a bit more straightforward.
However, i do have one question about the xml. I'm making a part file for the MCP23S17 SPI IO expander, and i used as a template the spiEEPROM part files. I don't exactly understand how the values i set in Project Designer are passed to the actual code. For instance, in Project designer, i can set the number of address bytes used to access the eeprom. The xml code for that is:
<number-param defVal="2" maxVal="4" minVal="1" name="addr" prompt="Number bytes in address" type="number">
The number of bytes used to specify an address on the device. Check datasheet.
In the class declaration, i see the variable addrBytes. How does that "addr" value gets passed to the code?
Edit: completely unrelated, but does WebbotLib Studio support #pragma once in header files?