957SWARM / Digital-Signboards

Contains Arduino code for controlling the digital signboards on SWARM robots.
1 stars 0 forks source link

Move commonly used variables defined in main.ino into separate header file #6

Open cshilling2000 opened 10 months ago

cshilling2000 commented 10 months ago

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.