Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 8 months ago.
BitLash for mbed
What is involved in converting the following Arduino BitLash library to work on mbed? http://bitlash.net/
1 Answer
9 years, 8 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 26 Mar 2015