Now that I am making more controllers for other people, I want to document how to setup my IDE environment.
It is easy, and you will be able to reprogram the boards if you do it this way.
FIRST, the main Arduino IDE
I use the windows version, from the windows store. The others should also work, though I have no experience with them
NEXT, you need to install
ONE TWO libraries.
a) the incredible Control_Surface Library by PieterP
Download the .zip here, and in the IDE, goto Sketch–>IncludeLibrary–>.ZIPLibrary
Use the github version, do not use the IDE repo version.
b) This may be optional. I didn’t need it for the Nano Board, but when I started using the NANO EVERY, i ran into problems and had to add the GITHUB version of this library.
Install like above. Again, the repo version failed to compile, I had to do this manually. This may be fixed by the time you read this.
STEP 3, plug in the board
When you plug in the board, you should see some prompts and drivers and such. It is pretty seamless, look to the Arduino manual if you have problems. So far I have been using the “NANO EVERY”. withOUT emulation in Tools->RegistersEmulation. So choose None(ATMEGA4809)
Step 4, reprogram
Once you are setup, I’ll send you a new sketch, or you are doing this from scratch and you grab it elsewhere.
Press Verify. If it verifies on your setup, upload it to the board! you may see this warning: “avrdude: jtagmkII_initialize(): Cannot locate “flash” and “boot” memories in description”, which you can simply ignore.
That is all.