Quick Start Guide
In this guide, you will create a new simulation workspace, connect an LED to pin 13 of an Arduino Uno, and run your first sketch.
[!TIP] You don't need to install Arduino IDE or USB drivers. Everything runs in modern browsers supporting WebAssembly.
Step 1: Create a New Project
- Log in to your NexFlux Dashboard.
- Click New Project in the top navigation bar.
- Select Arduino Uno Starter from the template gallery.
- Name your workspace
my-first-iot-project.
Step 2: Write Your First Sketch
In the built-in Monaco Code Editor, paste the following standard blink code:
cpp
[object Object],
,[object Object], ,[object Object], LED_PIN = ,[object Object],;
,[object Object],{
,[object Object],(LED_PIN, OUTPUT);
Serial.,[object Object],(,[object Object],);
Serial.,[object Object],(,[object Object],);
}
,[object Object],{
,[object Object],(LED_PIN, HIGH);
Serial.,[object Object],(,[object Object],);
,[object Object],(,[object Object],);
,[object Object],(LED_PIN, LOW);
Serial.,[object Object],(,[object Object],);
,[object Object],(,[object Object],);
}Step 3: Connect Components
- Open the Component Drawer on the left palette.
- Drag a Red LED and a 220Ω Resistor onto the canvas.
- Wire pin D13 to the Resistor, then to the LED Anode (+).
- Connect the LED Cathode (-) to the GND rail.
Step 4: Run Simulation
Click the ▶ Start Simulation button (or press Ctrl + Enter).
- The WebAssembly compiler will compile the sketch in < 150ms.
- You will see the virtual LED pulsing and live output in the Serial Monitor tab!
Troubleshooting Tips
[!WARNING] If the serial monitor displays garbled characters, ensure the Baud Rate dropdown in the terminal matches
Serial.begin(115200).