General Mind+Arduino

Mind+ Extensions

userHead Chris.Despoinidis 2025-02-24 17:01:15 1704 Views1 Replies

Hi,

 

I have a problem with an extension i make, i am using the Generator to add some libraries 

 

   Generator.addInclude("TB6612","#include <TB6612FNG.h>");

   Generator.addObject(`TB6612` ,`TB6612FNG`,`tb_alx(5,4,6,7)`);

 

but since these are being used by another extension as well they get added twice on the automatic code.

This ID parameter is the same (TB6612) and even if i use the cover option (as true) the same thing happens.

 

This only happens when i add commands from both extensions, if i use commands from the same extension everything is as expected.

How can i solve this problem?