These variables include pin assignments, the Protomatter Matrix, and the various animType and fancyAnim variables. If something is used elsewhere besides main.ino, it should be in the new header file.
You should then be able to include the header file inside all files that use those variables. Don't forget to remove the extern variables defined in other files after doing this, as they will not be needed anymore.
These variables include pin assignments, the Protomatter Matrix, and the various animType and fancyAnim variables. If something is used elsewhere besides main.ino, it should be in the new header file.
You should then be able to include the header file inside all files that use those variables. Don't forget to remove the extern variables defined in other files after doing this, as they will not be needed anymore.