Install the Arduino IDE from arduino.cc, plug in your board with USB, pick the board and port in the Tools menu, and upload the built-in Blink example. If the small LED on the board blinks, everything works.
void setup() { pinMode(LED_BUILTIN, OUTPUT); } void loop() { digitalWrite(LED_BUILTIN, HIGH); delay(500); digitalWrite(LED_BUILTIN, LOW); delay(500); }