Failed uploading

Hi @jack01. Please try this

  1. Connect your Arduino board to your computer with the USB cable.
  2. Press and release the button marked "RESET" on your Arduino UNO R4 WiFi board quickly twice.
    You should now see the "L" LED pulsing.
  3. Select the port of the UNO R4 Minima board from the Tools > Port menu in Arduino IDE.
    :exclamation: The double reset you did in step (1) can cause the port number of the board to change, so don't assume you already have the correct port selected.
  4. Upload the sketch to the board as usual.

This time the upload should be successful.

Where did you get that sketch from?