Creating libraries or header files for common code between projects

Is there a way to create my own libraries that I can use between projects. I know there are already libraries provides by Electric Imp for some common peripherals, but I’d like to create my own, and then maybe share them eventually with others.

For example I have code I have written to work with some OLED displays that use SSD1306 driver chip, along with some fonts and icons. Right now I have to cut and paste the code from one device to another. Would be much easier to use a shared library approach.


For this, you should probably be using builder impWorks Builder | Dev Center

You can have your own includes (including direct github references) etc.

Also check out impt which takes the output of Builder and uploads it to impCentral, so you don’t even need to copy and paste the assembled agent and device files.

This topic was automatically closed after 60 days. New replies are no longer allowed.