Core & GPIO พื้นฐาน & ขา GPIO
Pin declaration, variables, arrays, structs, subroutines and control flow.
English
Core & GPIO.mapo
ภาษาไทย
พื้นฐาน & ขา GPIO.mapo
Real .mapo programs — English and Thai side by side. Copy any snippet into the Web IDE to try it.
Pin declaration, variables, arrays, structs, subroutines and control flow.
LCD I2C, OLED, 7-segment, RGB LED, stepper and servo output.
DHT11, HC-SR04, DS18B20, LDR, soil moisture, IR, buzzer, PID and more.
WiFi, MQTT, HTTP client, TCP/UDP, WebSocket, web server routes and camera.
organ / brain / task, ROS2-style topic pub/sub, bridge, save/load.
Non-blocking timing with millis() and micros().
Embed raw Arduino C++ inside Mapo code with #c / #endc.
Full example: control a fan over a web page served from the ESP32.