I am an owner of a genuine “Arduino Nano” and it functions very well controlling LEDs (ws2812b) since very first day! But now i am planning to buy 2 or 3 “Arduino Nano Every” without headers (Because basically Nano Every is cheaper than Nano and i also need to use it at different locations and in my different LED projects where i can directly solder wires to the board permanently). So, before i place my order, i simply want to know that if i upload any Arduino Nano code to Arduino Nano Every using Arduino IDE software, will it work? Or do i need to rewrite/edit the code for controlling ws2812bs?
Although it does not guarantee that it will work, you can install the megaAVR board package (you do not need the board for that) and compile your sketch. Any possible errors/warnings will need attention.
I no longer need to post any sketch here because as “sterretje” suggested, i did so and successfully compile some of my sketches and they were all compiled easily.
I did as you suggested and i was able to compile ‘Arduino Nano’ sketches with ‘Arduino Nano Every’ selected as ‘Board’ and ‘ATMEGA328’ selected as ‘Registered Emulation’ under ‘Tool’ menu. ‘Port’ was grayed out under ‘Tool’ menu because i had not physically attached any Arduino Nano Every board. (I hope that is OK set up for compiling sketches.)
Anyway, i am going to buy Arduino Nano Every and let everyone know here if i had any issue uploading Nano code to Nano Every.
Thanks for helping me out. God bless all of you guys!