Difference between revisions of "Micropython"

From Interaction Station Wiki
Jump to navigation Jump to search
Line 1: Line 1:
----
+
 
 
== '''Micropython is a hype!''' ==
 
== '''Micropython is a hype!''' ==
----
 
  
 
Micropython can be seen as "a conversation with the microcontroller".  
 
Micropython can be seen as "a conversation with the microcontroller".  
Line 9: Line 8:
 
Micropython needs disk space on the microcontroller (or around on the board): 60K
 
Micropython needs disk space on the microcontroller (or around on the board): 60K
  
 +
 +
----
 +
== micropython - circuit python ==
 +
 +
Officiel versions
 +
http://micropython.org
 +
https://circuitpython.org
 +
 +
Adafruit version:
 +
https://www.adafruit.com/micropython
 +
 +
Sparkfun version:
 +
https://learn.sparkfun.com/tutorials/micropython-programming-tutorial-getting-started-with-the-esp32-thing/all
  
 
----
 
----
Line 44: Line 56:
 
----
 
----
  
== micropython - circuit python ==
 
 
Officiel versions
 
http://micropython.org
 
https://circuitpython.org
 
 
Adafruit version:
 
https://www.adafruit.com/micropython
 
  
Sparkfun version:
 
https://learn.sparkfun.com/tutorials/micropython-programming-tutorial-getting-started-with-the-esp32-thing/all
 
 
----
 
  
 
== Arduino ==
 
== Arduino ==
 
The Arduino doesn't "talk" micropython. Its memory is too small.
 
The Arduino doesn't "talk" micropython. Its memory is too small.

Revision as of 02:24, 2 February 2020

Micropython is a hype!

Micropython can be seen as "a conversation with the microcontroller".

You can send it command using code, and it will immediately talk back. You can change a line of code in a program and the change is immediately incorporated.

Micropython needs disk space on the microcontroller (or around on the board): 60K



micropython - circuit python

Officiel versions http://micropython.org https://circuitpython.org

Adafruit version: https://www.adafruit.com/micropython

Sparkfun version: https://learn.sparkfun.com/tutorials/micropython-programming-tutorial-getting-started-with-the-esp32-thing/all


Editors

Online code editor in python for the BBC Microbit: in Chrome (not in Safari or Firefox): https://python.microbit.org/v/2.0. Errors are displayed on the microbit.

Mu editor for Adafruit, also microbit https://codewith.mu Errors are displayed in the REPL window.

You can also use a text editor and drag the file into the micropython disk


Microcontrollers talking micropython (or CircuitPython)

(prices for Dutch shops, Antratek.nl, kind electronics)

All these boards can also be programmed using the Arduino IDE



Arduino

The Arduino doesn't "talk" micropython. Its memory is too small.