5 years, 3 months ago.

BitLash for mbed

What is involved in converting the following Arduino BitLash library to work on mbed? http://bitlash.net/

1 Answer

5 years, 3 months ago.

You would just need to get its source code and start by replacing Arduino functions by C functions, and hope they nicely seperated Arduino specific stuff from the rest.

However in general I am sceptical about interpreted languages. There is also a project where they run javascript on an F401 MCU: They lose over a factor 1000 in speed when just toggling an LED.

Accepted Answer

Thank you Erik. I agree that the performance hit is not desirable. I have looked at Espruino running javascript and concluded that compiled mbed code is still the best option for performance reasons. I wonder about using the best of both worlds (bitlash & compiled) in a single application?

posted by -deleted- 26 Mar 2015