Arduino:
Починаємо новий проект

How to: (Як це зробити:)

void setup() {
  // This runs once
  Serial.begin(9600);
  Serial.println("Hello, Ukraine!");
}

void loop() {
  // This runs repeatedly
}

Sample Output:

Hello, Ukraine!

Deep Dive (Занурення у глибину)

Creating a new project in the Arduino environment means you’re starting with two essential functions: setup() and loop(). Historically, sketches begin here, rooted in Processing and Wiring, ancestors of Arduino’s programming language. Alternatives like Atmel Studio or PlatformIO offer more features but add complexity. The setup() function prepares your board setup once, while loop() lets you run code repeatedly. By keeping structure simple—it’s quicker for debugging and learning.

See Also (Дивіться також)