Arduino + mbed = ??

Go To Last Post
2 posts / 0 new
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have watched Arduino from afar, but never actually got into it.


Lots of mbed boards now have Arduino shield connections - so that they can be used with Arduino shields:


Does anyone here know how easy (or otherwise) it is to get Arduino libraries for Arduino shields to work on mbed?

Anyone care to share?


I realise it's all just C++ at the end of the day...

Top Tips:

  1. How to properly post source code - see: - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see:
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillator
  5. When your question is resolved, mark the solution:
  6. Beginner's "Getting Started" tips:
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

The core functionality is very similar.    Many programs have been written for both systems.

Porting an Arduino library is not much more than the build differences for DUE or ZERO Arduinos.


The performance of a UNO can outshine a lot of the MBED evaluation boards.    Purely because the GPIO pins are mapped more conveniently.

For example,  a Shield that uses Digital#0 - Digital#7 for an 8-bit port just does a single OUT (or IN)

Most Evaluation boards need to mask and shift each bit because they are all muddled up.


Of course,   peripherals are mapped to the UNO pins.   So UART, SPI or I2C work at full hardware speed.