problems in blinking a led with nano every

Hi everybody, I need help in using the new Arduino Nano Every.

After updating the megaAVR board to the 1.8.6 version and connecting the nano to the /dev/cu/usbmodem14301 port, I tried to blink the built-in led charging the default example, and despite this warning that appeared in the description (avrdude: jtagmkII_initialize(): Cannot locate "flash" and "boot" memories in description), it worked.

The nano also responded well to the sketch modification (I changed the delay time), thus I argued that all was gone well.
However, trying to connect an external led to the nano every, and changing the number of the pin in the sketch (reported below) the LED stay off, and the sketch seems not working (despite the upload apparently has gone well).

#define PIN 12

void setup() {

  • pinMode(PIN, OUTPUT);*
    }
    void loop() {
  • digitalWrite(PIN, HIGH); *
  • delay(300); *
  • digitalWrite(PIN, LOW);*
  • delay(300); *
    }

the wiring setup is reported in the attached figure.

I'm new to the use of the nano every (I have only a moderate experience with the UNO R3) and maybe this is an odd problem, but I cannot solve it. I tried to restart the IDE, replug arduino, change the wires and I also tried with a different computer, but nothing has changed.

Thanks for everybody who want to help me in understanding what's going on.

Is the LED the right way round?

Also, you can test the LED by connection +5V to the resistor instead of pin D12. Sometimes you might just have a defective LED.

And that warning message is nothing to be concerned about.