Porting libraries designed for Arduino

I have an ST Electronics F401 Nucleo-64 board. I have a few devices that have libraries that were written for the Arduino platform.

I’m trying to port these over to mbed. Most of them reference Wire.h and WProgram.h, but I am unable to find source files for these.

Any suggestions on how this can be done?


Hi there,

WProgram.h looks like a older version of arduino.h so that you may replace it by Mbed.h, probably.
Wire.h (github) sounds like I2C.
Of course their methods are not same, so a work waiting for you.

You can also check older question or visit Mbed’s comonents galery, or community codes and try to find your devices.

BR, Jan