99576 Views
78289 Views
44897 Views
42231 Views
38578 Views
33219 Views
Robot Arms
TherePi - Music Making with a Raspberry Pi
Motion Controlled Arm
Electric Trombone
PicoTico
ClusteredPi
Introduction to Rust
OctaPi
Raspberry Pi 5 Cluster with Docker Swarm
Building Websites with Jekyll
Docker
Data Manipulation with Pandas and Numpy
KevsRobots Learning Platform
30% Percent Complete
By Kevin McAleer, 1 Minute
MicroPython is easier to write, cleaner and clearer to read, and faster to get the results you want, than other languages such as C++.
Compare these two examples below.
First is a piece of code written for the Arduino in C++:
Arduino
C++
#include <iostream> void main() { std::cout << "hello world"; }
The second piece of code is written in MicroPython:
MicroPython
print(“hello world)
As you can see, the MicroPython code is simpler, easier to read, shorter and faster to write.
< Previous Next >