4 years, 6 months ago.

BitLash for mbed

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

Comment on this question

1 Answer

4 years, 5 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.

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