105800 Views
82496 Views
47243 Views
47066 Views
45458 Views
38527 Views
Pi-Apps
Intermediate MicroPython
Arduino Alvik
Raspberry Pi Time machine
Now Ad-Free
Guiding Light
Intermediate level MicroPython
Introduction to FreeCAD for Beginners
Building a Robot Arm with Raspberry Pi and PCA9685
Building User Authentication for Static Sites with FastAPI
Mastering Pydantic for Robust Data Validation
Mastering Markdown for Documentation with Jekyll
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 >