+1 500 000 products in offer
6000 packages per day
+300 000 clients from 150 countries
Arduino uses a programming language based on C and C++, which, despite its colloquial name "Arduino language", is in fact a simplified version of C++, with a specially prepared set of libraries and a code structure to facilitate microcontroller programming.
In practice, a user writing a programme (so-called sketch) in the Arduino IDE environment operates with a code that resembles the C++ language. However, its syntax has been deliberately simplified to make it easier for people without advanced programming experience to get started. Instead of a full programme structure with a main() function, Arduino imposes only two mandatory functions: -setup() - executed once after the microcontroller starts up -loop() - executed cyclically, indefinitely, as long as the device is running This design allows the user to focus immediately on the functionality of the device, without having to manage the complex program lifecycle known from classical C++.
The choice of the C++ languagefor Arduino is no accident. C++ is powerful, allows direct control of the hardware, allows manipulation of microcontroller registers and is able to run on very limited hardware resources. This makes it an ideal language for embedded systems (embedded systems), of which Arduino is one. It is worth remembering that code written in the Arduino IDE is compiled using the standard g++ compiler, part of the GNU Compiler Collection package. This gives the user access to the full capabilities of the C++ language, although a simplified form of the language is used in typical Arduino projects.
Although C++ is the basis, alternatives are also emerging, but their use depends on the type of board. For more modern boards (e.g. ESP32), it is possible to use MicroPython, a special version of the Python language adapted to microcontrollers. MicroPython is easier to learn, but less powerful, making unsuitable for projects requiring fast operation or precise control of resources (such as classic AVR boards like the Arduino Uno or Nano). In contrast, the C# language is not used for programming Arduino boards. It can only be used to develop computer applications that communicate with the Arduino via a serial port, e.g. for control or data collection.
The choice of programming language on the Arduino depends on: -type of board - classic Arduino (Uno, Nano) require C++, -project requirements - where speed and performance are important, C++ is a must; Python can be used for educational or IoT projects where rapid prototyping is a priority, -library availability - the Arduino ecosystem offers thousands of libraries that have been developed with C++ in mind. Choosing another language often means having to create your own solutions.
Transfer Multisort Elektronik (TME) is one of the world’s largest global distributors of electronic components, electrotechnical parts, workshop equipment, and industrial automation. The catalog includes over 1,500,000 products from 1,300 leading manufacturers. TME’s modern logistics centers in Łódź and Rzgów (Poland), with a combined area of over 40,000 m², ship nearly 6,000 packages daily to customers in more than 150 countries.
TME also invests in the development of knowledge and skills of young engineers and electronics enthusiasts through the TME Education project, and supports the tech community by organizing the TechMasterEvent series, promoting innovation and experience exchange.