2 years, 6 months ago.

Using mbed code with python through a dll?

I would like to call my mbed code with python through a DLL. Can this be done? If not is there another way to create an API in mbed that can be called by python? Thanks!

Hey, do you specifically need a DLL? Or would the ability to use python to hook into mbed be sufficient?

posted by Sarah Marsh 24 Aug 2017

No, any hook into mbed would be sufficient. I like the serial idea - seems easy. Thanks!

posted by Tim Ciciarelli 24 Aug 2017

1 Answer

2 years, 6 months ago.

You might look into pyocd - https://github.com/mbedmicro/pyOCD

Or, if you just need to write something serially with python, you can look into pyserial - https://pypi.python.org/pypi/pyserial/2.7

Accepted Answer