tool/website to translate code between micropython and arduino?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
oyster
Posts: 4
Joined: Tue Feb 16, 2021 1:21 pm

tool/website to translate code between micropython and arduino?

Post by oyster » Thu Feb 18, 2021 3:17 am

I know it is hard to translate entire project code between micropython and arduino. And it is even impossible to translate micropython's dynamic code into arduino's C-like one.

So I just mean is there any aided tool/website, which can translate the codes that control MCU/Hardware, for example

Code: Select all

# code in micropython
pin = Pin(D0, Pin.OUT)
pin.value(HIGH)
into

Code: Select all

// code in arduino
pinMode(D0, OUTPUT);
digitalWrite(D0, HIGH); 
Thanks

Post Reply