KrisKasprzak
Well-known member
All,
I have a few "large" .ino files, one program is around 8500 lines, it has some 100 functions, and 20 libraries. I'm familiar with where things are in the code and search is helpful, but digging through 8500 lines is a pain. Some areas of code are edited rarely but don't warrant creating a .h (interface creation code to create buttons for example). I'm using Arudino IDE only.
I've been considering moving "less" frequently edited code to separate .ino files but keeping them in the same folder, that way I can edit if needed. I'm not sure this is good or a safe practice.
What do others do when your code grows in line count? Any suggest greatly appreciated.
I have a few "large" .ino files, one program is around 8500 lines, it has some 100 functions, and 20 libraries. I'm familiar with where things are in the code and search is helpful, but digging through 8500 lines is a pain. Some areas of code are edited rarely but don't warrant creating a .h (interface creation code to create buttons for example). I'm using Arudino IDE only.
I've been considering moving "less" frequently edited code to separate .ino files but keeping them in the same folder, that way I can edit if needed. I'm not sure this is good or a safe practice.
What do others do when your code grows in line count? Any suggest greatly appreciated.