MicroPython runs on STM32, ESP8266, ESP32 microcontrollers and some
others. No interpreter for PIC or any 8-bit targets that I'm aware of..
On 17/11/2021 07:40, 'Oliver Seitz' via jallib wrote:
Hi Zet!
Python is cross-platform, it runs on Windows, Mac-OS, Linux, Android
and on lesser known operating systems. None of them runs on PIC
controllers.
.hex is as much hardware dependent as it gets. A hex file created for
PIC16F877 *might* run on PIC16F877A, but there's also a chance that a
certain .hex-file doesn't run on certain revisions of the very same chip.
So, the true answer to your question is: To make a python program run
on a microcontroller, you have to re-write it for the specific
controller you want to use in a suitable language.
Unless there's a microcontroller-targeted python dialect I'm not aware
of. But, usually python is an interpreted language, which is very
uncommon on microcontrollers for various reasons.
Greets,
Kiste
Am Dienstag, 16. November 2021, 23:54:28 MEZ hat [email protected]
<[email protected]> Folgendes geschrieben:
Hi
Does someone knows how to change a Python program into .hex so Pickit3
can use it ?
Thanks.
Zet Weeh
--
You received this message because you are subscribed to the Google
Groups "jallib" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jallib/b990c2b5-0ba5-4434-9782-1b9802021273n%40googlegroups.com
<https://groups.google.com/d/msgid/jallib/b990c2b5-0ba5-4434-9782-1b9802021273n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google
Groups "jallib" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jallib/1974344484.992561.1637131234964%40mail.yahoo.com
<https://groups.google.com/d/msgid/jallib/1974344484.992561.1637131234964%40mail.yahoo.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jallib/af73ae68-dc0a-79cc-394c-9d099a222114%40brandasund.no.